diff options
author | grant <grant@pkgsrc.org> | 2002-07-11 15:52:35 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-07-11 15:52:35 +0000 |
commit | cc60a7b9d4aef70abb13df4acad2def35878630a (patch) | |
tree | 20654a8db898486344887027803078b9370301f9 /mk/defs.SunOS.mk | |
parent | 307eab81a3f07e3a383a7fc9bbaf07beac2d6fa2 (diff) | |
download | pkgsrc-cc60a7b9d4aef70abb13df4acad2def35878630a.tar.gz |
on Solaris, depend on gzip-base if GZCAT is not set, and neither
/usr/bin/gzcat nor ${LOCALBASE}/bin/gzip exist.
required for Solaris systems which do not include gzcat in the base
system.
sanity checked by Stoned Elipot <seb@netbsd.org>.
Diffstat (limited to 'mk/defs.SunOS.mk')
-rw-r--r-- | mk/defs.SunOS.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index 65ae46f571a..f621a2534bd 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.24 2002/06/02 00:40:19 schmonz Exp $ +# $NetBSD: defs.SunOS.mk,v 1.25 2002/07/11 15:52:36 grant Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -26,7 +26,8 @@ GUNZIP_CMD?= /usr/bin/gunzip -f GZCAT?= /usr/bin/gzcat GZIP?= -9 GZIP_CMD?= /usr/bin/gzip -nf ${GZIP} -.else +.endif +.if exists(${LOCALBASE}/bin/gzip) GUNZIP_CMD?= ${LOCALBASE}/bin/gunzip -f GZCAT?= ${LOCALBASE}/bin/zcat GZIP?= -9 |