summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-08-05 02:08:32 +0000
committermarkd <markd@pkgsrc.org>2006-08-05 02:08:32 +0000
commit2cd081dacc0e3c04cd7aeabc3cbcfef2c0f84325 (patch)
treea9c6fd61e08f6b213395df649635e394a1411771 /devel
parente4f6c48d0fdd2e3656765701385db8bb8b3800c9 (diff)
downloadpkgsrc-2cd081dacc0e3c04cd7aeabc3cbcfef2c0f84325.tar.gz
Support 64bit builds on Solaris.
Diffstat (limited to 'devel')
-rw-r--r--devel/nspr/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile
index 93c580128e9..b44fb3902c9 100644
--- a/devel/nspr/Makefile
+++ b/devel/nspr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/06/17 17:17:00 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2006/08/05 02:08:32 markd Exp $
DISTNAME= nspr-4.6.1
PKGREVISION= 1
@@ -34,6 +34,10 @@ PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX:Q}
INSTALLATION_DIRS= bin
+.if ${OPSYS} == "SunOS" && defined(ABI) && ${ABI} == "64"
+CONFIGURE_ARGS+= --enable-64bit
+.endif
+
.if ${OPSYS} == "Darwin" && exists(/Developer/Headers/FlatCarbon)
BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon
.endif