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@
This commit is contained in:
sevan 2015-05-03 14:37:33 +00:00
parent 8d7a05e010
commit d9d00c7c4d

View file

@ -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 \