From c69847b5d2205021b2cba16de17b1d05aa11708c Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 10 Jan 2001 11:54:59 +0000 Subject: Solaris 2.8 and newer includes "gzip". --- mk/bsd.pkg.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3