summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-11-17 22:35:23 +0000
committergrant <grant@pkgsrc.org>2002-11-17 22:35:23 +0000
commit9731c0345164f865270c761edc71ba9f0a9ddc70 (patch)
tree1ee66407e25f6a6720f7674ef9f006dc214ad369 /mk/bsd.prefs.mk
parent8f045a8a8fe7c6bf7197343f7c72c1eaae8df744 (diff)
downloadpkgsrc-9731c0345164f865270c761edc71ba9f0a9ddc70.tar.gz
LOWER_VENDOR is 'pc' on FreeBSD only if running on i386.
Diffstat (limited to 'mk/bsd.prefs.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"