pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lxqt-build-tools lxqt-build-tools: Avoid -Bsymbo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0cc3bbd1856
branches:  trunk
changeset: 379299:d0cc3bbd1856
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sat May 14 13:45:24 2022 +0000

description:
lxqt-build-tools: Avoid -Bsymbolic-* on SunOS.

Bump PKGREVISION.

diffstat:

 devel/lxqt-build-tools/Makefile                                               |   3 +-
 devel/lxqt-build-tools/distinfo                                               |   3 +-
 devel/lxqt-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake |  19 ++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 85346e3a6b19 -r d0cc3bbd1856 devel/lxqt-build-tools/Makefile
--- a/devel/lxqt-build-tools/Makefile   Sat May 14 13:00:46 2022 +0000
+++ b/devel/lxqt-build-tools/Makefile   Sat May 14 13:45:24 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2022/04/24 14:58:12 pin Exp $
+# $NetBSD: Makefile,v 1.20 2022/05/14 13:45:24 jperkin Exp $
 
 DISTNAME=      lxqt-build-tools-0.11.0
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=lxqt/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
diff -r 85346e3a6b19 -r d0cc3bbd1856 devel/lxqt-build-tools/distinfo
--- a/devel/lxqt-build-tools/distinfo   Sat May 14 13:00:46 2022 +0000
+++ b/devel/lxqt-build-tools/distinfo   Sat May 14 13:45:24 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2022/04/24 14:58:12 pin Exp $
+$NetBSD: distinfo,v 1.9 2022/05/14 13:45:24 jperkin Exp $
 
 BLAKE2s (lxqt-build-tools-0.11.0.tar.xz) = f7914fe91aeffaf55a2ec3d2c4602ec5ab89d4b8d76373dacf74e517088e5dbb
 SHA512 (lxqt-build-tools-0.11.0.tar.xz) = d421aaf74b13efa3b603b5c8a998bfd6091f5d3c45e0201d64e0c1f12d93c45fdc12d9232b0ac1c98ccf47007560c5814612162d1ac879bb3173bad57164408d
 Size (lxqt-build-tools-0.11.0.tar.xz) = 25348 bytes
+SHA1 (patch-cmake_modules_LXQtCompilerSettings.cmake) = 48b92fbd9109ffa69af8b88eaf422472ed730e23
diff -r 85346e3a6b19 -r d0cc3bbd1856 devel/lxqt-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lxqt-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake     Sat May 14 13:45:24 2022 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-cmake_modules_LXQtCompilerSettings.cmake,v 1.1 2022/05/14 13:45:24 jperkin Exp $
+
+Avoid -Bsymbolic* on SunOS.
+
+--- cmake/modules/LXQtCompilerSettings.cmake.orig      2022-04-16 00:48:16.000000000 +0000
++++ cmake/modules/LXQtCompilerSettings.cmake
+@@ -164,7 +164,11 @@ if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COM
+         set(NO_UNDEFINED_FLAGS "-Wl,--no-undefined")
+         # -Bsymbolic-functions: replace dynamic symbols used internally in
+         #                       shared libs with direct addresses.
+-        set(SYMBOLIC_FLAGS "-Wl,-Bsymbolic-functions -Wl,-Bsymbolic")
++        if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
++            set(SYMBOLIC_FLAGS "")
++        else()
++            set(SYMBOLIC_FLAGS "-Wl,-Bsymbolic-functions -Wl,-Bsymbolic")
++        endif()
+     endif()
+ 
+     set(CMAKE_SHARED_LINKER_FLAGS



Home | Main Index | Thread Index | Old Index