summaryrefslogtreecommitdiff
path: root/archivers/xz/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-06-11 10:23:40 +0000
committerjperkin <jperkin@pkgsrc.org>2012-06-11 10:23:40 +0000
commit976b80d50b053f95089d232d9d97ccea1475a1f2 (patch)
tree117e4123c8d1ce5aac090fa28048fb8bd00bc426 /archivers/xz/Makefile
parent636db6a592ab4505a315b742115378ff76073e44 (diff)
downloadpkgsrc-976b80d50b053f95089d232d9d97ccea1475a1f2.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/Makefile')
-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"