pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools don't assume we have /bin/zcat



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c98f78bfc6e
branches:  trunk
changeset: 400017:6c98f78bfc6e
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Oct 11 07:36:11 2009 +0000

description:
don't assume we have /bin/zcat

diffstat:

 mk/tools/tools.Linux.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8e4d9facc16c -r 6c98f78bfc6e mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Sun Oct 11 04:30:23 2009 +0000
+++ b/mk/tools/tools.Linux.mk   Sun Oct 11 07:36:11 2009 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index