summaryrefslogtreecommitdiff
path: root/archivers/xz
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-06-11 10:23:40 +0000
committerjperkin <jperkin>2012-06-11 10:23:40 +0000
commit8801d2d618567eb292ba54fc23583632af6b8b35 (patch)
tree117e4123c8d1ce5aac090fa28048fb8bd00bc426 /archivers/xz
parent6c81b1460c7ad11fd580951836cb4c2bffd83be3 (diff)
downloadpkgsrc-8801d2d618567eb292ba54fc23583632af6b8b35.tar.gz
Explicitly disable symbol visibility on Solaris, causes problems on a number
of setups, and is recommended as part of the xz INSTALL file. Fixes Solaris9/x86/gcc at least, tested on SmartOS which is otherwise fine.
Diffstat (limited to 'archivers/xz')
-rw-r--r--archivers/xz/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/xz/Makefile b/archivers/xz/Makefile
index d637bf52a41..77747cf610b 100644
--- a/archivers/xz/Makefile
+++ b/archivers/xz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2011/06/15 11:43:12 adam Exp $
+# $NetBSD: Makefile,v 1.11 2012/06/11 10:23:40 jperkin Exp $
DISTNAME= xz-5.0.3
CATEGORIES= archivers
@@ -26,6 +26,10 @@ CONFLICTS= lzma-[0-9]* lzma-utils-[0-9]* lzmalib-[0-9]*
CONFIGURE_ARGS+= --disable-assembler
.endif
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= gl_cv_cc_visibility=no
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"