diff options
author | tron <tron@pkgsrc.org> | 2001-07-10 15:07:35 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-10 15:07:35 +0000 |
commit | 75d0cbc0b3d8fbe4bbd1de377adb491660f79d1b (patch) | |
tree | 185c4e946b6834aee52ca9f6243af7518407b1b6 /mk/bsd.prefs.mk | |
parent | 3affde40dd338e0d04831b846bf935dce950bd3f (diff) | |
download | pkgsrc-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/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 5 |
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 |