summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authortron <tron>2001-07-10 15:07:35 +0000
committertron <tron>2001-07-10 15:07:35 +0000
commitc7709e040a133b5396aedd30e042e05b1b310823 (patch)
tree185c4e946b6834aee52ca9f6243af7518407b1b6 /mk/bsd.prefs.mk
parent07d52e893023a0e8e729b6a9702ec737010994a2 (diff)
downloadpkgsrc-c7709e040a133b5396aedd30e042e05b1b310823.tar.gz
Add new variable "SPARC_TARGET_ARCH" used to select the target architecture
under Solaris/SPARC. Default is "sparcv7".
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 33495b8e4e3..954a8e5f460 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.51 2001/07/10 11:13:31 tron Exp $
+# $NetBSD: bsd.prefs.mk,v 1.52 2001/07/10 15:07:35 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -58,6 +58,9 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
+.if (${MACHINE_ARCH} == sparc)
+SPARC_TARGET_ARCH?= sparcv7
+.endif
# We need to set this early to get "USE_MESA" and "USE_XPM" working.
X11BASE?= ${DESTDIR}/usr/openwin