summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2015-05-03 14:34:04 +0000
committersevan <sevan@pkgsrc.org>2015-05-03 14:34:04 +0000
commit8372f01254245a3fe161e9bfbd0fcadc3d73ab58 (patch)
treebb41e4e24c16deb70fae6a7651aab7aa25b71693
parent8a6f85c8e4cf1ff6c39861322e5e13547164917e (diff)
downloadpkgsrc-8372f01254245a3fe161e9bfbd0fcadc3d73ab58.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@
-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"