summaryrefslogtreecommitdiff
path: root/mk/tools/tools.BSDOS.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-14 21:15:07 +0000
committerjlam <jlam@pkgsrc.org>2005-05-14 21:15:07 +0000
commitb37e6d4830f355df0e0b17b933e8164a322443ec (patch)
treeabb61edb38473cf587b49a23812a600f1d00bca9 /mk/tools/tools.BSDOS.mk
parent38fd1994c1eb814a61c76d9aa81359a715b8754d (diff)
downloadpkgsrc-b37e6d4830f355df0e0b17b933e8164a322443ec.tar.gz
Consider ${TAR} differently from ${GTAR}. Currently, mark pkgsrc down
as needing both (no impact since they're both satisfied by the tar binary installed by the bootstrap kit). There's some funniness in the extraction code where we check for pax or GNU tar that needs to be resolved. Remove the TAR=${GTAR} hack since it's no longer needed after these changes. XXX Later, a sweep needs to be made to see where we actually need GTAR XXX and where we only need TAR, probably triggered by whether we call it XXX with the "z" option or not. Packages that need GTAR should explicitly XXX add USE_TOOLS+=gtar to the package Makefile.
Diffstat (limited to 'mk/tools/tools.BSDOS.mk')
-rw-r--r--mk/tools/tools.BSDOS.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/tools/tools.BSDOS.mk b/mk/tools/tools.BSDOS.mk
index a465f958aca..1f4a8d8eff3 100644
--- a/mk/tools/tools.BSDOS.mk
+++ b/mk/tools/tools.BSDOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.BSDOS.mk,v 1.9 2005/05/10 19:56:51 jlam Exp $
+# $NetBSD: tools.BSDOS.mk,v 1.10 2005/05/14 21:15:07 jlam Exp $
#
# System-supplied tools for the BSD/OS operating system.
@@ -49,6 +49,11 @@ TOOLS_PLATFORM.sh?= /bin/bash
TOOLS_PLATFORM.sort?= /usr/bin/sort
TOOLS_PLATFORM.strip?= /usr/bin/strip
TOOLS_PLATFORM.tail?= /usr/bin/tail
+.if exists(/bin/tar)
+TOOLS_PLATFORM.tar?= /bin/tar
+.elif exists(/usr/bin/tar)
+TOOLS_PLATFORM.tar?= /usr/bin/tar
+.endif
TOOLS_PLATFORM.tee?= /usr/bin/tee
TOOLS_PLATFORM.test?= test # shell builtin
TOOLS_PLATFORM.touch?= /usr/bin/touch