pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/libLLVM libLLVM: support DragonflyBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2ac73dcaf4c
branches:  trunk
changeset: 355697:c2ac73dcaf4c
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Dec 10 22:30:27 2016 +0000

description:
libLLVM: support DragonflyBSD

from David Shao and dports in PR pkg/51705

diffstat:

 lang/libLLVM/distinfo                                            |   3 +-
 lang/libLLVM/patches/patch-cmake_modules_HandleLLVMOptions.cmake |  14 ++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r c6a9df8a7bc7 -r c2ac73dcaf4c lang/libLLVM/distinfo
--- a/lang/libLLVM/distinfo     Sat Dec 10 21:48:52 2016 +0000
+++ b/lang/libLLVM/distinfo     Sat Dec 10 22:30:27 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2016/11/14 20:15:33 ryoon Exp $
+$NetBSD: distinfo,v 1.6 2016/12/10 22:30:27 maya Exp $
 
 SHA1 (llvm-3.9.0.src.tar.xz) = da792f11a208d5b994c4fe1c8faa20f90ff0e4a3
 RMD160 (llvm-3.9.0.src.tar.xz) = bbde781a914f6cd7fab3f71745fc576b2e7e23c9
@@ -7,6 +7,7 @@
 SHA1 (patch-CMakeLists.txt) = 770e0bc00a987430b6c6be7e4141f33e5be54a8f
 SHA1 (patch-cmake_modules_AddLLVM.cmake) = 1fd7598a55eede8b1ef50556ab8d7277fe5b2f43
 SHA1 (patch-cmake_modules_CMakeLists.txt) = bf31e9d3914e2041a7d435390b63ad67282b272f
+SHA1 (patch-cmake_modules_HandleLLVMOptions.cmake) = 271e6f5a8cebf8162c4e3b758e96f451b434269b
 SHA1 (patch-cmake_modules_TableGen.cmake) = d548208577f45fbb6c8f7b43548c399cc63c7887
 SHA1 (patch-include_llvm_Support_Host.h) = ad6ac520f15bba96ab887c962fb717e22aaee7bf
 SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 44835bfcd2bddc16e0b93628fafb627889091f85
diff -r c6a9df8a7bc7 -r c2ac73dcaf4c lang/libLLVM/patches/patch-cmake_modules_HandleLLVMOptions.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/libLLVM/patches/patch-cmake_modules_HandleLLVMOptions.cmake  Sat Dec 10 22:30:27 2016 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-cmake_modules_HandleLLVMOptions.cmake,v 1.1 2016/12/10 22:30:27 maya Exp $
+
+DragonflyBSD support
+
+--- cmake/modules/HandleLLVMOptions.cmake.orig 2016-01-06 19:05:19.000000000 +0000
++++ cmake/modules/HandleLLVMOptions.cmake
+@@ -132,6 +132,7 @@ endif()
+ # Pass -Wl,-z,defs. This makes sure all symbols are defined. Otherwise a DSO
+ # build might work on ELF but fail on MachO/COFF.
+ if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR WIN32 OR CYGWIN OR
++        ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly" OR
+         ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
+         ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND
+    NOT LLVM_USE_SANITIZER)



Home | Main Index | Thread Index | Old Index