summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-07-13 15:20:29 +0000
committerjschauma <jschauma>2005-07-13 15:20:29 +0000
commit832cd985c3b96c344f7a3f54cf8ed03228736a20 (patch)
treec5bfcd866f09aaabe4c9f9d148d9eeb2ce2da9d3 /lang
parent8c5feb96cf1604059b72f7b3ca8cd3157d3a0912 (diff)
downloadpkgsrc-832cd985c3b96c344f7a3f54cf8ed03228736a20.tar.gz
sort out 32- and 64bit flags for IRIX
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 054c7ee466d..78cab3a83cc 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2005/06/30 17:24:49 minskim Exp $
+# $NetBSD: Makefile,v 1.96 2005/07/13 15:20:29 jschauma Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -189,8 +189,12 @@ CONFIGURE_ARGS+= -Dlibswanted="${LIBSWANTED}"
.include "../../mk/compiler.mk"
-.if ${OPSYS} == "IRIX" && ${ABI} == "64"
+.if ${OPSYS} == "IRIX"
+. if ${ABI} == "64"
CONFIGURE_ARGS+= -Dcc='${CC} -64' -Duse64bitint
+. else
+CONFIGURE_ARGS+= -Dcc='${CC} -n32'
+. endif
.endif
PERL5= ${PREFIX}/bin/perl${PERL5_VERS}