summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-07-10 11:13:31 +0000
committertron <tron@pkgsrc.org>2001-07-10 11:13:31 +0000
commit9f2922b0a3e5a3cbcad644d408782c95dcf4403e (patch)
tree1a82c65b4e38a9d83b35df402938d24dfda09b07 /mk
parent7cd0371c430ed6a4c8c38545d4d39d1f12925960 (diff)
downloadpkgsrc-9f2922b0a3e5a3cbcad644d408782c95dcf4403e.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")