pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/qore



Module Name:    pkgsrc
Committed By:   nros
Date:           Fri Sep 22 07:10:07 UTC 2023

Modified Files:
        pkgsrc/lang/qore: distinfo
Added Files:
        pkgsrc/lang/qore/patches: patch-cmake_QoreMacros.cmake

Log Message:
qore: fix linking of modules on Illumos


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/qore/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/qore/patches/patch-cmake_QoreMacros.cmake

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/qore/distinfo
diff -u pkgsrc/lang/qore/distinfo:1.21 pkgsrc/lang/qore/distinfo:1.22
--- pkgsrc/lang/qore/distinfo:1.21      Mon Aug 21 19:28:06 2023
+++ pkgsrc/lang/qore/distinfo   Fri Sep 22 07:10:07 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2023/08/21 19:28:06 nros Exp $
+$NetBSD: distinfo,v 1.22 2023/09/22 07:10:07 nros Exp $
 
 BLAKE2s (qore-1.18.1.tar.bz2) = df879b00581b6458f607482001c8fa30cc46e77f06d3c800b57c3181f25b86b6
 SHA512 (qore-1.18.1.tar.bz2) = 2c52cd36ae12a1789fdf4561656e1223dac9a205a515ae67bd30696dccc20eb087ffdbfe8a02b5139b31f26155590de85e11567207125643d287e8e66d093331
 Size (qore-1.18.1.tar.bz2) = 47894977 bytes
+SHA1 (patch-cmake_QoreMacros.cmake) = 7d76b551dee8d978f28a0b25897836f1f9346295
 SHA1 (patch-lib_ql__lib.qpp) = a94737d5ed7c930ddc667c5e8be45cd1095d5a4a

Added files:

Index: pkgsrc/lang/qore/patches/patch-cmake_QoreMacros.cmake
diff -u /dev/null pkgsrc/lang/qore/patches/patch-cmake_QoreMacros.cmake:1.1
--- /dev/null   Fri Sep 22 07:10:07 2023
+++ pkgsrc/lang/qore/patches/patch-cmake_QoreMacros.cmake       Fri Sep 22 07:10:07 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-cmake_QoreMacros.cmake,v 1.1 2023/09/22 07:10:07 nros Exp $
+
+* "-undefined dynamic_lookup" seems to be Apple ld specific but tolerated by GNU ld,
+  using it breaks the linking stage of qore modules on Illumos
+
+--- cmake/QoreMacros.cmake.orig        2023-08-15 20:25:50.000000000 +0000
++++ cmake/QoreMacros.cmake
+@@ -188,7 +188,9 @@ MACRO (QORE_BINARY_MODULE_INTERN2 _modul
+     target_link_libraries(${_module_name} ${_libs})
+ 
+     # ensure that modules use dynamic lookups; works with g++ & clang++
++    if(CMAKE_HOST_APPLE)
+     set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-undefined -Wl,dynamic_lookup")
++    endif(CMAKE_HOST_APPLE)
+ 
+     install( TARGETS ${_module_name} DESTINATION ${_mod_target_dir})
+ 



Home | Main Index | Thread Index | Old Index