summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-08-24 09:00:44 +0000
committerabs <abs@pkgsrc.org>2001-08-24 09:00:44 +0000
commit7cb5dda9950579ca9d59719ff247800e0ac1afc3 (patch)
tree5a5c8c7c85e6e291ae2f20d5a8690277b85827d2 /mk
parent9c214d3dd516268bce716953eaf4469fc2622e00 (diff)
downloadpkgsrc-7cb5dda9950579ca9d59719ff247800e0ac1afc3.tar.gz
shuffle some whitespace to make it more obvious what is going on
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 3a8ce921e11..94bf42d46b5 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.57 2001/08/14 11:00:44 skrll Exp $
+# $NetBSD: bsd.prefs.mk,v 1.58 2001/08/24 09:00:44 abs Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -50,6 +50,7 @@ MACHINE_GNU_ARCH?= ${GNU_ARCH.${MACHINE_ARCH}}
.if ${OPSYS} == "NetBSD"
LOWER_OPSYS?= netbsd
+
.elif ${OPSYS} == "SunOS"
. if ${MACHINE_ARCH} == "unknown"
. if !defined(LOWER_ARCH)
@@ -59,12 +60,12 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
-.if (${MACHINE_ARCH} == sparc)
+. if (${MACHINE_ARCH} == sparc)
SPARC_TARGET_ARCH?= sparcv7
-.endif
-
+. endif
# We need to set this early to get "USE_MESA" and "USE_XPM" working.
X11BASE?= ${DESTDIR}/usr/openwin
+
.elif ${OPSYS} == "Linux"
LOWER_OPSYS?= linux
. if ${MACHINE_ARCH} == "unknown"
@@ -83,6 +84,7 @@ LOWER_VENDOR?= unknown
.elif !defined(LOWER_OPSYS)
LOWER_OPSYS!= echo ${OPSYS} | tr A-Z a-z
.endif
+
MAKEFLAGS+= LOWER_OPSYS=${LOWER_OPSYS}
LOWER_VENDOR?=