summaryrefslogtreecommitdiff
path: root/devel/gettext-tools
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2015-05-03 14:37:33 +0000
committersevan <sevan@pkgsrc.org>2015-05-03 14:37:33 +0000
commit251cad6dbbf979e0dfdc2e805172a6a05810e694 (patch)
treef8c65606751693bc7a1ed499995faccb860f47c6 /devel/gettext-tools
parent8372f01254245a3fe161e9bfbd0fcadc3d73ab58 (diff)
downloadpkgsrc-251cad6dbbf979e0dfdc2e805172a6a05810e694.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@
Diffstat (limited to 'devel/gettext-tools')
-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 \