summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-08 07:13:54 +0000
committerrillig <rillig@pkgsrc.org>2007-01-08 07:13:54 +0000
commit02c39c55d6b372e0b07601dce8f7b699eee72d46 (patch)
treedcea0e6feafd8897ebe090ef4ca9f19e70922e36 /lang
parentae20e873048b7b427d5e8de736acdd7b981f7815 (diff)
downloadpkgsrc-02c39c55d6b372e0b07601dce8f7b699eee72d46.tar.gz
ABI is usually undefined, so a defined() check is needed.
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 0c5ea50bbd3..8c69db54e45 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.124 2006/11/03 10:48:05 joerg Exp $
+# $NetBSD: Makefile,v 1.125 2007/01/08 07:13:54 rillig Exp $
DISTNAME= perl-5.8.8
PKGREVISION= 3
@@ -242,7 +242,7 @@ CONFIGURE_ARGS+= -Dlibswanted=${LIBSWANTED:Q}
.include "../../mk/compiler.mk"
.if ${OPSYS} == "IRIX"
-. if ${ABI} == "64"
+. if defined(ABI) && ${ABI} == "64"
CONFIGURE_ARGS+= -Dcc=${CC:Q}" -64" -Duse64bitint
. else
CONFIGURE_ARGS+= -Dcc=${CC:Q}" -n32"