pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/nspr Explicitly request 64bit on Linux if ABI is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72e9715dc477
branches:  trunk
changeset: 397837:72e9715dc477
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 19 15:00:09 2009 +0000

description:
Explicitly request 64bit on Linux if ABI is set accordingly.
>From Evaldo Gardenali.

diffstat:

 devel/nspr/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 1da71b22b17c -r 72e9715dc477 devel/nspr/Makefile
--- a/devel/nspr/Makefile       Wed Aug 19 14:44:34 2009 +0000
+++ b/devel/nspr/Makefile       Wed Aug 19 15:00:09 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2009/03/23 17:39:12 darcy Exp $
+# $NetBSD: Makefile,v 1.29 2009/08/19 15:00:09 joerg Exp $
 
 DISTNAME=              nspr-4.6.7
 PKGREVISION=           1
@@ -54,6 +54,12 @@
 .  endif
 .endif
 
+.if ${OPSYS} == "Linux"
+.  if defined(ABI) && ${ABI} == "64"
+CONFIGURE_ARGS+=       --enable-64bit
+.  endif
+.endif
+
 .if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon)
 BUILDLINK_PASSTHRU_DIRS+=      /Developer/Headers/FlatCarbon
 



Home | Main Index | Thread Index | Old Index