summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-06-27 02:08:52 +0000
committerjschauma <jschauma>2003-06-27 02:08:52 +0000
commit7498a12c0da1504f206440dcfc87a8d770b67910 (patch)
tree9845b5d6ccc3611c3f43638cbc31620f26cb4b7a /lang/perl5
parentbf72db90c820eef0dd93604b0870d792d877d090 (diff)
downloadpkgsrc-7498a12c0da1504f206440dcfc87a8d770b67910.tar.gz
Make this work on Irix with both n32 and 64 ABI.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 9e8754f169c..7718059af6d 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2003/06/23 07:45:01 jlam Exp $
+# $NetBSD: Makefile,v 1.66 2003/06/27 02:08:52 jschauma Exp $
.include "../../lang/perl5/Makefile.common"
@@ -44,6 +44,14 @@ CONFIGURE_ARGS+= -Dinstallsiteman3dir="${PERL5_SITEPERL}/man/man3"
MKPIC?= yes
+.if ${OPSYS} == "IRIX"
+. if ${ABI} == "32"
+CONFIGURE_ARGS+= -Dcc='cc -n32'
+. elif ${ABI} == "64"
+CONFIGURE_ARGS+= -Dcc='cc -64' -Duse64bitint
+. endif
+.endif
+
# Nail down the needed libraries for each platform here to avoid hidden
# dependencies. If this isn't defined, then use the perl defaults for the
# particular operating system.