summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-10 15:07:35 +0000
committertron <tron@pkgsrc.org>2001-07-10 15:07:35 +0000
commit75d0cbc0b3d8fbe4bbd1de377adb491660f79d1b (patch)
tree185c4e946b6834aee52ca9f6243af7518407b1b6 /mk
parent3affde40dd338e0d04831b846bf935dce950bd3f (diff)
downloadpkgsrc-75d0cbc0b3d8fbe4bbd1de377adb491660f79d1b.tar.gz
Add new variable "SPARC_TARGET_ARCH" used to select the target architecture
under Solaris/SPARC. Default is "sparcv7".
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk5
-rw-r--r--mk/mk.conf.example7
2 files changed, 10 insertions, 2 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
diff --git a/mk/mk.conf.example b/mk/mk.conf.example
index 1e6f63f8841..92e05625341 100644
--- a/mk/mk.conf.example
+++ b/mk/mk.conf.example
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf.example,v 1.232 2001/06/20 14:32:56 nra Exp $
+# $NetBSD: mk.conf.example,v 1.233 2001/07/10 15:07:35 tron Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@@ -873,6 +873,11 @@ PAPERSIZE= A4
# Possible: /dev/your_favorite_serial_device0 /dev/your_favorite_serial_device1 ...
# Default: defaults for various machine_archs are set in mk/bsd.prefs.mk
+#SPARC_TARGET_ARCH=
+# Select SPARC target architecture under Solaris.
+# Possible: sparcv7, sparcv8 or sparcv9.
+# Default: sparcv7
+
#SQUID_CONFIGURE_ARGS=
# Used in squid package to set build configuration options.
# Possible: see "configure --help"