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
commit891c0dc4012f78b8da92d37a38b50ba17bfac843 (patch)
tree1ee66407e25f6a6720f7674ef9f006dc214ad369 /mk
parent017db74f38982af34d55b8d151faef958e666ef9 (diff)
downloadpkgsrc-891c0dc4012f78b8da92d37a38b50ba17bfac843.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"