diff options
author | erh <erh@pkgsrc.org> | 2003-12-03 17:29:12 +0000 |
---|---|---|
committer | erh <erh@pkgsrc.org> | 2003-12-03 17:29:12 +0000 |
commit | 72d7234fe7d333d16099171857e672fb0161a002 (patch) | |
tree | 74c61a198d6ab6cf335d24ace15b8be700b7e0d0 /lang/perl5/module.mk | |
parent | f4e86d8603e0b70af00034ee52dbe050bbca0008 (diff) | |
download | pkgsrc-72d7234fe7d333d16099171857e672fb0161a002.tar.gz |
On AIX, perl doesn't like building with gcc.
Force it to use /usr/bin/cc instead.
Diffstat (limited to 'lang/perl5/module.mk')
-rw-r--r-- | lang/perl5/module.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk index e577a927560..af515527d91 100644 --- a/lang/perl5/module.mk +++ b/lang/perl5/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.26 2003/11/27 04:11:40 jlam Exp $ +# $NetBSD: module.mk,v 1.27 2003/12/03 17:29:12 erh Exp $ # # This Makefile fragment is intended to be included by packages that build # and install perl5 modules. @@ -49,6 +49,13 @@ PERL5_CONFIGURE_DIRS?= ${CONFIGURE_DIRS} # MAKE_PARAMS+= INSTALLDIRS=site +.if ${OPSYS} == "AIX" +# Perl doesn't like building with gcc on AIX +CC=/usr/bin/cc +MAKE_PARAMS+= CC="${CC}" +.undef USE_GCC3 +.endif + .PHONY: perl5-configure perl5-configure: ${_PKG_SILENT}${_PKG_DEBUG} \ |