diff options
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} \ |