From 72d7234fe7d333d16099171857e672fb0161a002 Mon Sep 17 00:00:00 2001 From: erh Date: Wed, 3 Dec 2003 17:29:12 +0000 Subject: On AIX, perl doesn't like building with gcc. Force it to use /usr/bin/cc instead. --- lang/perl5/module.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lang/perl5/module.mk') 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} \ -- cgit v1.2.3