diff options
author | tron <tron@pkgsrc.org> | 2001-07-10 11:13:31 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-07-10 11:13:31 +0000 |
commit | 9f2922b0a3e5a3cbcad644d408782c95dcf4403e (patch) | |
tree | 1a82c65b4e38a9d83b35df402938d24dfda09b07 /mk | |
parent | 7cd0371c430ed6a4c8c38545d4d39d1f12925960 (diff) | |
download | pkgsrc-9f2922b0a3e5a3cbcad644d408782c95dcf4403e.tar.gz |
Use ":=" in assignment of "ZOULARISBASE" because "LOCALBASE" might get
redefined later.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
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") |