diff options
author | wiz <wiz@pkgsrc.org> | 2004-07-03 14:13:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-07-03 14:13:06 +0000 |
commit | e693520bba4c57e03fcf0517fd725c33bdaa4f68 (patch) | |
tree | faaef213cd629a78d7f1b02884cc8bf2635bc1b1 /lang | |
parent | 9687065817c6665248087bba8953c36fab7746fb (diff) | |
download | pkgsrc-e693520bba4c57e03fcf0517fd725c33bdaa4f68.tar.gz |
Do not unset USE_GCC3, just complain if building
with GCC on AIX. Okayed by grant.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/Makefile | 8 | ||||
-rw-r--r-- | lang/perl5/module.mk | 11 |
2 files changed, 7 insertions, 12 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index de45117c588..d606f492122 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2004/05/05 03:14:33 jschauma Exp $ +# $NetBSD: Makefile,v 1.84 2004/07/03 14:13:06 wiz Exp $ .include "../../lang/perl5/Makefile.common" @@ -213,11 +213,5 @@ post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/mk ${INSTALL_DATA} ${WRKDIR}/bsd.perl.mk ${PREFIX}/share/mk/bsd.perl.mk -.if ${OPSYS} == "AIX" -# Perl doesn't like building with gcc on AIX -CC=/usr/bin/cc -.undef USE_GCC3 -.endif - .include "module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk index 3a1ef4411fd..6b7d41851ff 100644 --- a/lang/perl5/module.mk +++ b/lang/perl5/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.35 2004/06/09 17:53:04 xtraeme Exp $ +# $NetBSD: module.mk,v 1.36 2004/07/03 14:13:06 wiz Exp $ # # This Makefile fragment is intended to be included by packages that build # and install perl5 modules. @@ -51,11 +51,12 @@ PERL5_CONFIGURE_DIRS?= ${CONFIGURE_DIRS} # MAKE_PARAMS+= INSTALLDIRS=site +.include "../../mk/compiler.mk" + .if ${OPSYS} == "AIX" -# Perl doesn't like building with gcc on AIX -CC=/usr/bin/cc -MAKE_PARAMS+= CC="${CC}" -.undef USE_GCC3 +.if !empty(CC_VERSION:Mgcc*) +BROKEN= Perl does not like building with gcc on AIX, please use a different compiler +.endif .endif MAKE_ENV+= LC_ALL=C |