pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 ABI is usually undefined, so a defined() ch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9874fae54e3f
branches:  trunk
changeset: 523459:9874fae54e3f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jan 08 07:13:54 2007 +0000

description:
ABI is usually undefined, so a defined() check is needed.

diffstat:

 lang/perl5/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 542d05508078 -r 9874fae54e3f lang/perl5/Makefile
--- a/lang/perl5/Makefile       Mon Jan 08 06:54:34 2007 +0000
+++ b/lang/perl5/Makefile       Mon Jan 08 07:13:54 2007 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index