summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsevan <sevan>2015-05-03 14:37:33 +0000
committersevan <sevan>2015-05-03 14:37:33 +0000
commitc497bebb5dce8964b7a231a00bb1edc66d1c581c (patch)
treef8c65606751693bc7a1ed499995faccb860f47c6
parent65c5281ba669bdb42afe6e353234d3438446994f (diff)
downloadpkgsrc-c497bebb5dce8964b7a231a00bb1edc66d1c581c.tar.gz
Force the use of the gnulib version of wctype.h, bundled with gettext-tools, 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--devel/gettext-tools/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/gettext-tools/Makefile b/devel/gettext-tools/Makefile
index 3ef8ee89d17..89f8d958b46 100644
--- a/devel/gettext-tools/Makefile
+++ b/devel/gettext-tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2015/01/10 16:19:48 gdt Exp $
+# $NetBSD: Makefile,v 1.28 2015/05/03 14:37:33 sevan Exp $
.include "../../devel/gettext/Makefile.common"
@@ -35,6 +35,11 @@ USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib
BUILDLINK_TRANSFORM+= rm:-Wl,--disable-auto-import
.endif
+.if ${OPSYS} == "AIX"
+#bug 20453 in bug-gzip list, passed onto gnulib
+CONFIGURE_ENV+= ac_cv_header_wctype_h=no
+.endif
+
post-install:
cd ${WRKSRC}/gettext-tools/misc && ${MAKE} install DESTDIR=${DESTDIR}
${INSTALL_MAN} ${WRKSRC}/gettext-tools/man/autopoint.1 \