diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-06-13 11:02:35 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-06-13 11:02:35 +0000 |
commit | 150e0f67710b2b79f8c7c8f7130aeed301427c9c (patch) | |
tree | 62d3f591968223a920e4b5d32f756f807f7ef0c0 /archivers | |
parent | b84c9ca035e0c51ac5653207247610287875f425 (diff) | |
download | pkgsrc-150e0f67710b2b79f8c7c8f7130aeed301427c9c.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')
-rw-r--r-- | archivers/xz/Makefile | 3 |
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 |