summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-05-17 15:00:26 +0000
committerabs <abs@pkgsrc.org>2001-05-17 15:00:26 +0000
commitd579f1ad6fc7439d31df6353c9842f4b523b60ef (patch)
treedeacd6601bf26b173ad7f811cfe0f967d04f0c4e /mk/bsd.prefs.mk
parent9926e0fe2f3899c696a4a899fb2dbbad6c52bfba (diff)
downloadpkgsrc-d579f1ad6fc7439d31df6353c9842f4b523b60ef.tar.gz
In the Linux case, if MACHINE_ARCH is unknown set it to LOWER_ARCH (it does
seem a little backwards).
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 6ae0b95d5ee..e0c2d6e61c2 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.34 2001/05/02 04:53:11 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.35 2001/05/17 15:00:26 abs Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -61,6 +61,7 @@ LOWER_OPSYS?= linux
. if !defined(LOWER_ARCH)
LOWER_ARCH!= ${UNAME} -m | sed -e 's/[456]86/386/'
. endif # !defined(LOWER_ARCH)
+MACHINE_ARCH= ${LOWER_ARCH}
MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. if ${LOWER_ARCH} == "i386"
LOWER_VENDOR?= pc