pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/gzip Force the use of the gnulib version of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc198ba8f9f4
branches:  trunk
changeset: 651174:fc198ba8f9f4
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sun May 03 14:34:04 2015 +0000

description:
Force the use of the gnulib version of wctype.h, bundled with gzip, 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/gzip/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7654715c38a1 -r fc198ba8f9f4 archivers/gzip/Makefile
--- a/archivers/gzip/Makefile   Sun May 03 14:32:11 2015 +0000
+++ b/archivers/gzip/Makefile   Sun May 03 14:34:04 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/10/09 14:05:51 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2015/05/03 14:34:04 sevan Exp $
 
 DISTNAME=      gzip-1.6
 CATEGORIES=    archivers
@@ -19,4 +19,9 @@
 INFO_FILES=    yes
 CHECK_PERMS=   no      # can't depend on checkperms; it's distfile is gzipped
 
+.if ${OPSYS} == "AIX"
+#bug 20453 in bug-gzip list, passed onto gnulib
+CONFIGURE_ENV+=        ac_cv_header_wctype_h=no
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index