pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk If /usr/sbin/gzcat exists, use it, as /usr/bsd/zcat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4bcbc21511f
branches: trunk
changeset: 472596:a4bcbc21511f
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Apr 11 17:06:18 2004 +0000
description:
If /usr/sbin/gzcat exists, use it, as /usr/bsd/zcat on these systems
requires a .Z suffix. Noted by Bas van Oostven in PR pkg/25141.
diffstat:
mk/defs.IRIX.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 7d2032237126 -r a4bcbc21511f mk/defs.IRIX.mk
--- a/mk/defs.IRIX.mk Sun Apr 11 17:04:29 2004 +0000
+++ b/mk/defs.IRIX.mk Sun Apr 11 17:06:18 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.IRIX.mk,v 1.44 2004/04/09 23:18:18 jschauma Exp $
+# $NetBSD: defs.IRIX.mk,v 1.45 2004/04/11 17:06:18 jschauma Exp $
#
# Variable definitions for the IRIX operating system.
@@ -32,7 +32,11 @@
GTAR?= /sbin/tar
.endif
GUNZIP_CMD?= /usr/sbin/gunzip -f
+.if exists(/usr/sbin/gzcat)
+GZCAT?= /usr/sbin/gzcat
+.else
GZCAT?= /usr/bsd/zcat
+.endif
GZIP?= -9
GZIP_CMD?= /usr/sbin/gzip -nf ${GZIP}
HEAD?= /usr/bsd/head
Home |
Main Index |
Thread Index |
Old Index