summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2002-11-17 22:35:23 +0000
committergrant <grant>2002-11-17 22:35:23 +0000
commit85dc551b71ea17181a35b3420524c096ea584ac6 (patch)
tree1ee66407e25f6a6720f7674ef9f006dc214ad369 /mk
parentc5677b6f3df85fda993c47b594e2fb2524e9d7b5 (diff)
downloadpkgsrc-85dc551b71ea17181a35b3420524c096ea584ac6.tar.gz
LOWER_VENDOR is 'pc' on FreeBSD only if running on i386.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index f1a95f89a34..a1c6ca6281b 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.90 2002/11/17 15:11:40 grant Exp $
+# $NetBSD: bsd.prefs.mk,v 1.91 2002/11/17 22:35:23 grant Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -71,7 +71,11 @@ LOWER_OPSYS?= freebsd
LOWER_ARCH!= ${UNAME} -p
MACHINE_ARCH= ${LOWER_ARCH}
MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
+. if ${LOWER_ARCH} == "i386"
LOWER_VENDOR?= pc
+. else
+LOWER_VENDOR?= unknown
+. endif
.elif ${OPSYS} == "SunOS"
. if ${MACHINE_ARCH} == "sparc"