diff options
author | grant <grant@pkgsrc.org> | 2003-02-21 12:01:00 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-02-21 12:01:00 +0000 |
commit | c1c552d3a2b4d5af33c23544dc8f91f2487bca72 (patch) | |
tree | 3f6b2b532425748cf95e297ab730c0acfc82f340 /mk | |
parent | d4a6be3be7d0d20d1b67eba0912e937a6fd95f1b (diff) | |
download | pkgsrc-c1c552d3a2b4d5af33c23544dc8f91f2487bca72.tar.gz |
use the bootstrap versions of tar and mtree, if they exist.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.FreeBSD.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mk/defs.FreeBSD.mk b/mk/defs.FreeBSD.mk index 7740c4010ea..9bdf07b705b 100644 --- a/mk/defs.FreeBSD.mk +++ b/mk/defs.FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.FreeBSD.mk,v 1.15 2003/01/15 20:55:39 jlam Exp $ +# $NetBSD: defs.FreeBSD.mk,v 1.16 2003/02/21 12:01:00 grant Exp $ # # Variable definitions for the FreeBSD operating system. @@ -23,8 +23,8 @@ FILE_CMD?= /usr/bin/file FIND?= /usr/bin/find GMAKE?= ${LOCALBASE}/bin/gmake GREP?= /usr/bin/grep -.if exists(/bin/tar) -GTAR?= /bin/tar +.if exists(${LOCALBASE}/bin/tar) +GTAR?= ${LOCALBASE}/bin/tar .else GTAR?= /usr/bin/tar .endif @@ -38,7 +38,11 @@ LDCONFIG?= /sbin/ldconfig LN?= /bin/ln LS?= /bin/ls MKDIR?= /bin/mkdir -p +.if exists(${LOCALBASE}/sbin/mtree) +MTREE?= ${LOCALBASE}/sbin/mtree +.else MTREE?= /usr/sbin/mtree +.endif MV?= /bin/mv NICE?= /usr/bin/nice PATCH?= /usr/bin/patch |