Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 654E484F84 for ; Fri, 22 Sep 2023 07:10:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 1BCfqB4nH_rF for ; Fri, 22 Sep 2023 07:10:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D7C2684D38 for ; Fri, 22 Sep 2023 07:10:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CE350FBDB; Fri, 22 Sep 2023 07:10:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1695366607249170" MIME-Version: 1.0 Date: Fri, 22 Sep 2023 07:10:07 +0000 From: "Niclas Rosenvik" Subject: CVS commit: pkgsrc/lang/qore To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nros@netbsd.org X-Mailer: log_accum Message-Id: <20230922071007.CE350FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1695366607249170 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1695366607249170 Content-Disposition: inline Content-Length: 1872 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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}) + --_----------=_1695366607249170--