From 95c494c7d5df660a948a613203e61bf977d7e0c3 Mon Sep 17 00:00:00 2001 From: tnn Date: Sun, 11 Oct 2009 07:36:11 +0000 Subject: don't assume we have /bin/zcat --- mk/tools/tools.Linux.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mk/tools') 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) -- cgit v1.2.3