summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-10 11:54:59 +0000
committertron <tron@pkgsrc.org>2001-01-10 11:54:59 +0000
commit96ab8e4f4bb5a635d1e0fecc9e666f741679a472 (patch)
tree2acde0be41778c1be4766b7d7992074cb0956471 /mk
parentae420435141f2e9c3010a075dc73e77ff4ff6f2b (diff)
downloadpkgsrc-96ab8e4f4bb5a635d1e0fecc9e666f741679a472.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