diff options
author | salo <salo> | 2002-12-22 09:30:03 +0000 |
---|---|---|
committer | salo <salo> | 2002-12-22 09:30:03 +0000 |
commit | 98dd0e35d95a35f14ba5337eea836e743e4403ae (patch) | |
tree | 6981512d31e1ff398151490b1b1fb4d47ce03e73 /mk | |
parent | 545827602c2530d2472dce6bb8b2ec277362f128 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | mk/defs.SunOS.mk | 4 |
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 |