summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-07-27 09:44:31 +0000
committerjperkin <jperkin@pkgsrc.org>2012-07-27 09:44:31 +0000
commit5269af7246bae025515cfa78644a1335c212558b (patch)
tree938129d8d134f89312b9961bf89bd54a3790237a /mk/bsd.prefs.mk
parent15a68903e7494fd9aeab148423d399296048ecad (diff)
downloadpkgsrc-5269af7246bae025515cfa78644a1335c212558b.tar.gz
Set default ABI on Solaris for SPARC too.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index b0794b2e444..f132478dad5 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.324 2012/07/02 15:49:41 jperkin Exp $
+# $NetBSD: bsd.prefs.mk,v 1.325 2012/07/27 09:44:31 jperkin Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -260,13 +260,13 @@ LOWER_OPSYS_VERSUFFIX?= ${OS_VERSION}
LOWER_VENDOR?= hp
.elif ${OPSYS} == "SunOS"
+ABI?= 32
. if ${MACHINE_ARCH} == "sparc"
SPARC_TARGET_ARCH?= sparcv7
. elif ${MACHINE_ARCH} == "sun4"
MACHINE_ARCH= sparc
SPARC_TARGET_ARCH?= sparcv7
. elif ${MACHINE_ARCH} == "i86pc" || ${MACHINE_ARCH} == "i86xpv" || ${MACHINE_ARCH} == "i386"
-ABI?= 32
LOWER_ARCH.32= i386
LOWER_ARCH.64= x86_64
LOWER_ARCH= ${LOWER_ARCH.${ABI}}