summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-07-26 16:13:52 +0000
committerhubertf <hubertf@pkgsrc.org>2001-07-26 16:13:52 +0000
commit04f42d04861a24ecd2f9682dda1b37095478cb88 (patch)
treec05abbc4f8a5b47a0ff20e19ec269f8954c1bdc4 /mk
parentde311affa4044bf1ac373eabc14b2eb94d53f64a (diff)
downloadpkgsrc-04f42d04861a24ecd2f9682dda1b37095478cb88.tar.gz
ZOULARISBASE: If there's no $LOCALBASE/bsd, try $LOCALBASE
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 682a06e90ac..18dddc23091 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.55 2001/07/26 08:33:02 hubertf Exp $
+# $NetBSD: bsd.prefs.mk,v 1.56 2001/07/26 16:13:52 hubertf Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -288,7 +288,11 @@ PKG_TOOLS_BIN?= /usr/sbin
# end of migration aid
LOCALBASE?= ${DESTDIR}/usr/pkg
.if !defined(ZOULARISBASE)
+. if exists(${LOCALBASE}/bsd)
ZOULARISBASE:= ${LOCALBASE}/bsd
+. else
+ZOULARISBASE:= ${LOCALBASE}
+. endif
.endif
PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin