summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2001-07-10 11:13:31 +0000
committertron <tron>2001-07-10 11:13:31 +0000
commite1614326ea8f1adb45801e47f2775439ccfd9018 (patch)
tree1a82c65b4e38a9d83b35df402938d24dfda09b07 /mk
parent6f101359beb050db78a69f2d115faf3439fcc4cf (diff)
downloadpkgsrc-e1614326ea8f1adb45801e47f2775439ccfd9018.tar.gz
Use ":=" in assignment of "ZOULARISBASE" because "LOCALBASE" might get
redefined later.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 5bb0ed01794..33495b8e4e3 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.50 2001/07/09 14:31:58 fredb Exp $
+# $NetBSD: bsd.prefs.mk,v 1.51 2001/07/10 11:13:31 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -270,7 +270,9 @@ SERIAL_DEVICES?= /dev/null
PKG_TOOLS_BIN?= /usr/sbin
.elif (${OPSYS} == "SunOS")
LOCALBASE?= ${DESTDIR}/usr/local
-ZOULARISBASE?= ${LOCALBASE}/bsd
+.if !defined(ZOULARISBASE)
+ZOULARISBASE:= ${LOCALBASE}/bsd
+.endif
PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin
.if (${X11BASE} == "/usr/openwin")