diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-06-06 17:57:36 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-06-06 17:57:36 +0000 |
commit | 066edded53fc4daac9875302ffca4637f77f6941 (patch) | |
tree | f78ef04e3faa322b909ec7ba08dc1e0ab2114455 /mk | |
parent | 52947f7d708fea02ee9faea140a1bd00b4ee12ea (diff) | |
download | pkgsrc-066edded53fc4daac9875302ffca4637f77f6941.tar.gz |
Found some more programs that may be in either /bin or /usr/bin depending
on what todays flavor of Linux is.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.Linux.mk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 060513697cc..4c63ee06df3 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.51 2003/04/20 12:06:01 cjep Exp $ +# $NetBSD: defs.Linux.mk,v 1.52 2003/06/06 17:57:36 jschauma Exp $ # # Variable definitions for the Linux operating system. @@ -44,11 +44,23 @@ GREP?= /bin/grep GREP?= /usr/bin/grep .endif GTAR?= /bin/tar +.if exists(/usr/bin/gunzip) GUNZIP_CMD?= /usr/bin/gunzip -f +.else +GUNZIP_CMD?= /bin/gunzip -f +.endif +.if exists(/usr/bin/gzip) +GZIP_CMD?= /usr/bin/gzip -nf ${GZIP} +.else +GZIP_CMD?= /bin/gzip -nf ${GZIP} +.endif GZCAT?= /bin/zcat GZIP?= -9 -GZIP_CMD?= /usr/bin/gzip -nf ${GZIP} +.if exists(/bin/head) +HEAD?= /bin/head +.else HEAD?= /usr/bin/head +.endif HOSTNAME_CMD?= /bin/hostname ID?= /usr/bin/id LDCONFIG?= /sbin/ldconfig |