summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-10-11 07:36:11 +0000
committertnn <tnn@pkgsrc.org>2009-10-11 07:36:11 +0000
commit95c494c7d5df660a948a613203e61bf977d7e0c3 (patch)
treeb8f5e2173eb9a9b766dccd63874a19ab68884c27 /mk
parentfe12d63753b35fae45570afd6a27c38322419e8d (diff)
downloadpkgsrc-95c494c7d5df660a948a613203e61bf977d7e0c3.tar.gz
don't assume we have /bin/zcat
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.Linux.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk
index cacd24d122d..d108f9ea01a 100644
--- a/mk/tools/tools.Linux.mk
+++ b/mk/tools/tools.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.44 2008/05/17 18:34:50 tnn Exp $
+# $NetBSD: tools.Linux.mk,v 1.45 2009/10/11 07:36:11 tnn Exp $
#
# System-supplied tools for the Linux operating system.
@@ -105,7 +105,9 @@ TOOLS_PLATFORM.gunzip?= /bin/gunzip -f
.elif exists(/usr/bin/gunzip)
TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
.endif
+.if exists(/bin/zcat)
TOOLS_PLATFORM.gzcat?= /bin/zcat
+.endif
.if exists(/bin/gzip)
TOOLS_PLATFORM.gzip?= /bin/gzip -nf ${GZIP}
.elif exists(/usr/bin/gzip)