summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"