summaryrefslogtreecommitdiff
path: root/archivers/xz
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-06-13 11:02:35 +0000
committerjperkin <jperkin@pkgsrc.org>2012-06-13 11:02:35 +0000
commit1edeeb454465da64172eb1a2ace60e1d65902801 (patch)
tree62d3f591968223a920e4b5d32f756f807f7ef0c0 /archivers/xz
parent17edc2f6a9c936add8c3b22931b316970ca5a632 (diff)
downloadpkgsrc-1edeeb454465da64172eb1a2ace60e1d65902801.tar.gz
Explicitly disable optreset on Solaris. devel/libgetopt defines it even
though Solaris does not include it in libc, and the xz feature test only tests the definition, not functionality.
Diffstat (limited to 'archivers/xz')
-rw-r--r--archivers/xz/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/xz/Makefile b/archivers/xz/Makefile
index 77747cf610b..700e0913a7b 100644
--- a/archivers/xz/Makefile
+++ b/archivers/xz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/06/11 10:23:40 jperkin Exp $
+# $NetBSD: Makefile,v 1.12 2012/06/13 11:02:35 jperkin Exp $
DISTNAME= xz-5.0.3
CATEGORIES= archivers
@@ -27,6 +27,7 @@ CONFIGURE_ARGS+= --disable-assembler
.endif
.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= ac_cv_have_decl_optreset=no
CONFIGURE_ENV+= gl_cv_cc_visibility=no
.endif