summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2002-10-17 14:39:18 +0000
committergrant <grant>2002-10-17 14:39:18 +0000
commit7c7bd9ee1eef360fcea108264da0161fabd415a2 (patch)
treeec0fa4357d16130d6178c5845646e5fd450ca983 /mk
parent75f28224ae5f599cfaa0d1d216903c1ddf2eca1d (diff)
downloadpkgsrc-7c7bd9ee1eef360fcea108264da0161fabd415a2.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.mk8
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"