pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gtar-base Force the use of the gnulib versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7654715c38a1
branches:  trunk
changeset: 651173:7654715c38a1
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sun May 03 14:32:11 2015 +0000

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

 archivers/gtar-base/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 02e1454d0e75 -r 7654715c38a1 archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile      Sun May 03 14:26:57 2015 +0000
+++ b/archivers/gtar-base/Makefile      Sun May 03 14:32:11 2015 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index