summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorsevan <sevan>2015-05-03 14:34:04 +0000
committersevan <sevan>2015-05-03 14:34:04 +0000
commit3c1cc95a643d71cba3bcca98baf19b193773d1d8 (patch)
treebb41e4e24c16deb70fae6a7651aab7aa25b71693 /archivers
parent12b8a28c962d47ac045974e2389b3c7fd27cd83c (diff)
downloadpkgsrc-3c1cc95a643d71cba3bcca98baf19b193773d1d8.tar.gz
Force the use of the gnulib version of wctype.h, bundled with gzip, when
building on AIX. This is a workaround for an issue where though the wctype.h included on system was found, wctype_t & wctrans_t were deemed unsuitable, causing the build to fail due to previous declaration with confliciting types. Reviewed by wiz@
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gzip/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile
index 26eb6a48079..0a63864b632 100644
--- a/archivers/gzip/Makefile
+++ b/archivers/gzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/10/09 14:05:51 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2015/05/03 14:34:04 sevan Exp $
DISTNAME= gzip-1.6
CATEGORIES= archivers
@@ -19,4 +19,9 @@ MAKE_FLAGS+= manlinks=so
INFO_FILES= yes
CHECK_PERMS= no # can't depend on checkperms; it's distfile is gzipped
+.if ${OPSYS} == "AIX"
+#bug 20453 in bug-gzip list, passed onto gnulib
+CONFIGURE_ENV+= ac_cv_header_wctype_h=no
+.endif
+
.include "../../mk/bsd.pkg.mk"