pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 Do not unset USE_GCC3, just complain if bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df1f1b3dad51
branches:  trunk
changeset: 477477:df1f1b3dad51
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 03 14:13:06 2004 +0000

description:
Do not unset USE_GCC3, just complain if building
with GCC on AIX. Okayed by grant.

diffstat:

 lang/perl5/Makefile  |   8 +-------
 lang/perl5/module.mk |  11 ++++++-----
 2 files changed, 7 insertions(+), 12 deletions(-)

diffs (47 lines):

diff -r b3e8384291d0 -r df1f1b3dad51 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Sat Jul 03 14:00:28 2004 +0000
+++ b/lang/perl5/Makefile       Sat Jul 03 14:13:06 2004 +0000
@@ -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 @@
        ${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 -r b3e8384291d0 -r df1f1b3dad51 lang/perl5/module.mk
--- a/lang/perl5/module.mk      Sat Jul 03 14:00:28 2004 +0000
+++ b/lang/perl5/module.mk      Sat Jul 03 14:13:06 2004 +0000
@@ -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 @@
 #
 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



Home | Main Index | Thread Index | Old Index