diff options
author | grant <grant@pkgsrc.org> | 2002-10-17 14:39:18 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-10-17 14:39:18 +0000 |
commit | bc0094b054e230f7d37c521cf7ee206243d78a13 (patch) | |
tree | ec0fa4357d16130d6178c5845646e5fd450ca983 /mk | |
parent | bfb670d6b92d8c923d77ccd31ad57ee1150252f1 (diff) | |
download | pkgsrc-bc0094b054e230f7d37c521cf7ee206243d78a13.tar.gz |
Use mtree and pkg_* from bootstrap-pkgsrc if they exist.
ok'd by agc.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.SunOS.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index 3de6f4625f4..0e4c3745a1d 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.30 2002/10/06 22:16:41 seb Exp $ +# $NetBSD: defs.SunOS.mk,v 1.31 2002/10/17 14:39:18 grant Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -40,6 +40,9 @@ LDCONFIG?= /usr/bin/true LN?= /usr/bin/ln LS?= /usr/bin/ls MKDIR?= /usr/bin/mkdir -p +.if exists(${LOCALBASE}/sbin/mtree) +MTREE?= ${LOCALBASE}/sbin/mtree +.endif MTREE?= ${ZOULARISBASE}/bin/mtree MV?= /usr/bin/mv .if exists(/usr/bin/gpatch) @@ -120,6 +123,9 @@ ZOULARISBASE:= ${LOCALBASE}/bsd ZOULARISBASE:= ${LOCALBASE} . endif .endif +.if exists(${LOCALBASE}/sbin/pkg_info) +PKG_TOOLS_BIN?= ${LOCALBASE}/sbin +.endif PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin .if ${X11BASE} == "/usr/openwin" |