summaryrefslogtreecommitdiff
path: root/archivers/gtar-base
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2015-05-03 14:32:11 +0000
committersevan <sevan@pkgsrc.org>2015-05-03 14:32:11 +0000
commit8a6f85c8e4cf1ff6c39861322e5e13547164917e (patch)
tree0c9945611f9483adada34251773df811f7c62dad /archivers/gtar-base
parent555aa8a689363ff8d2ffa1a930535c8935665be8 (diff)
downloadpkgsrc-8a6f85c8e4cf1ff6c39861322e5e13547164917e.tar.gz
Force the use of the gnulib version of wctype.h, bundled with gtar, 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 'archivers/gtar-base')
-rw-r--r--archivers/gtar-base/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile
index 492a9265e12..99d4d1abb66 100644
--- a/archivers/gtar-base/Makefile
+++ b/archivers/gtar-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2015/04/23 09:15:19 sevan Exp $
+# $NetBSD: Makefile,v 1.90 2015/05/03 14:32:11 sevan Exp $
#
# Please run 'make files/gtar.1' when updating version of this package
# to regenerate the man page. converters/help2man is needed.
@@ -54,6 +54,11 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
CPPFLAGS+= -Dstrtoimax=strtoll -Dstrtoumax=strtoull
.endif
+.if ${OPSYS} == "AIX"
+#bug 20453 in bug-gzip list, passed onto gnulib
+CONFIGURE_ENV+= ac_cv_header_wctype_h=no
+.endif
+
SYMLINKS= bin/gtar ${PKGGNUDIR}bin/tar \
${PKGMANDIR}/man1/gtar.1 ${PKGGNUDIR}${PKGMANDIR}/man1/tar.1