summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn>2009-10-11 07:36:11 +0000
committertnn <tnn>2009-10-11 07:36:11 +0000
commit62821a2a55a1e14e6f3c9f020457e9ffa7a3de5e (patch)
treeb8f5e2173eb9a9b766dccd63874a19ab68884c27 /mk
parenta2754abb078266df1939d7caa7169f2bd7997c16 (diff)
downloadpkgsrc-62821a2a55a1e14e6f3c9f020457e9ffa7a3de5e.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)