summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2001-01-10 11:54:59 +0000
committertron <tron>2001-01-10 11:54:59 +0000
commitc69847b5d2205021b2cba16de17b1d05aa11708c (patch)
tree2acde0be41778c1be4766b7d7992074cb0956471 /mk
parent51ccac25987949d5277d26ba3c78751d75e325ee (diff)
downloadpkgsrc-c69847b5d2205021b2cba16de17b1d05aa11708c.tar.gz
Solaris 2.8 and newer includes "gzip".
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 73c8cf29ede..967c9fb78b2 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.637 2001/01/10 10:53:42 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.638 2001/01/10 11:54:59 tron Exp $
#
# This file is in the public domain.
#
@@ -527,10 +527,17 @@ FILE?= /usr/bin/file
FIND?= /usr/bin/find
GREP?= /usr/bin/grep
GTAR?= ${LOCALBASE}/bin/gtar
+.if exists(/usr/bin/gzip)
+GUNZIP_CMD?= /usr/bin/gunzip -f
+GZCAT?= /usr/bin/gzcat
+GZIP?= -9
+GZIP_CMD?= /usr/bin/gzip -nf ${GZIP}
+.else
GUNZIP_CMD?= ${LOCALBASE}/bin/gunzip -f
GZCAT?= ${LOCALBASE}/bin/zcat
GZIP?= -9
GZIP_CMD?= ${LOCALBASE}/bin/gzip -nf ${GZIP}
+.endif
HEAD?= /usr/bin/head
ID?= /usr/xpg4/bin/id
IDENT?= ${LOCALBASE}/bin/ident