summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
diff options
context:
space:
mode:
authorsalo <salo>2002-12-22 09:30:03 +0000
committersalo <salo>2002-12-22 09:30:03 +0000
commit98dd0e35d95a35f14ba5337eea836e743e4403ae (patch)
tree6981512d31e1ff398151490b1b1fb4d47ce03e73 /mk/defs.SunOS.mk
parent545827602c2530d2472dce6bb8b2ec277362f128 (diff)
downloadpkgsrc-98dd0e35d95a35f14ba5337eea836e743e4403ae.tar.gz
When pkg_install is installed over zoularis, new tools reside in
${ZOULARISBASE/sbin so look there as well. Otherwise old tools are used (or new tools are not found if old tools were removed).
Diffstat (limited to 'mk/defs.SunOS.mk')
-rw-r--r--mk/defs.SunOS.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index 029ad7abf87..2e492196d83 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.47 2002/12/18 06:18:15 schmonz Exp $
+# $NetBSD: defs.SunOS.mk,v 1.48 2002/12/22 09:30:03 salo Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -149,5 +149,7 @@ ZOULARISBASE:= ${LOCALBASE}
.endif
.if exists(${LOCALBASE}/sbin/pkg_info)
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
+.elseif exists(${ZOULARISBASE}/sbin/pkg_info)
+PKG_TOOLS_BIN?= ${ZOULARISBASE}/sbin
.endif
PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin