pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/libxslt
Module Name: pkgsrc
Committed By: schmonz
Date: Mon Jun 19 19:59:41 UTC 2023
Modified Files:
pkgsrc/textproc/libxslt: Makefile
Log Message:
libxslt: don't pass --version-script to Solaris linker.
Fixes "ld: fatal: option --version-script requires option -z
gnu-version-script-compat to be specified" on Solaris 11.4.
Tested to build as before on Tribblix, and therefore hopefully SmartOS.
NFCI on non-"SunOS" platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 pkgsrc/textproc/libxslt/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/libxslt/Makefile
diff -u pkgsrc/textproc/libxslt/Makefile:1.127 pkgsrc/textproc/libxslt/Makefile:1.128
--- pkgsrc/textproc/libxslt/Makefile:1.127 Thu Jun 15 23:41:52 2023
+++ pkgsrc/textproc/libxslt/Makefile Mon Jun 19 19:59:41 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.127 2023/06/15 23:41:52 riastradh Exp $
+# $NetBSD: Makefile,v 1.128 2023/06/19 19:59:41 schmonz Exp $
.include "Makefile.common"
@@ -15,10 +15,17 @@ PKGCONFIG_OVERRIDE= libxslt.pc.in
PKGCONFIG_OVERRIDE+= libexslt.pc.in
TEST_TARGET= check
-BUILDLINK_TRANSFORM.SunOS+= opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == SunOS
+. if ${OS_VARIANT} == Solaris
+BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./libxslt.syms
+. else
+BUILDLINK_TRANSFORM+= opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
+. endif
+.endif
+
.if ${USE_CROSS_COMPILE:tl} == "yes"
# Both libgcrypt and libxml2 install scripts in the _target_ system,
# that are expected to be run on the _build_ system when compiling
Home |
Main Index |
Thread Index |
Old Index