pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gettext-tools Force the use of the gnulib versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e2d4c490393
branches:  trunk
changeset: 651175:8e2d4c490393
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sun May 03 14:37:33 2015 +0000

description:
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:

 devel/gettext-tools/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r fc198ba8f9f4 -r 8e2d4c490393 devel/gettext-tools/Makefile
--- a/devel/gettext-tools/Makefile      Sun May 03 14:34:04 2015 +0000
+++ b/devel/gettext-tools/Makefile      Sun May 03 14:37:33 2015 +0000
@@ -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 @@
 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 \



Home | Main Index | Thread Index | Old Index