diff options
author | rpaulo <rpaulo@pkgsrc.org> | 2007-01-25 21:34:54 +0000 |
---|---|---|
committer | rpaulo <rpaulo@pkgsrc.org> | 2007-01-25 21:34:54 +0000 |
commit | 2146838c441520e17880b7ad1013c7209a628457 (patch) | |
tree | edb4c18f4a1c8e4b9b0268833b6c4f84fe2654e6 /mk | |
parent | 46da6277df420fbe2f95b80230b1147d9e0179e2 (diff) | |
download | pkgsrc-2146838c441520e17880b7ad1013c7209a628457.tar.gz |
Some Linux distros have gawk and install in /bin.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/tools.Linux.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk index 909106fa69f..50d649e8056 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Linux.mk,v 1.37 2006/07/05 04:32:10 jlam Exp $ +# $NetBSD: tools.Linux.mk,v 1.38 2007/01/25 21:34:54 rpaulo Exp $ # # System-supplied tools for the Linux operating system. @@ -65,7 +65,11 @@ TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep .endif TOOLS_PLATFORM.file?= /usr/bin/file TOOLS_PLATFORM.find?= /usr/bin/find +.if exists(/bin/awk) +TOOLS_PLATFORM.gawk?= /bin/awk +.else TOOLS_PLATFORM.gawk?= /usr/bin/awk +.endif .if exists(/usr/bin/m4) TOOLS_PLATFORM.gm4?= /usr/bin/m4 .endif @@ -111,7 +115,11 @@ TOOLS_PLATFORM.id?= /bin/id .elif exists(/usr/bin/id) TOOLS_PLATFORM.id?= /usr/bin/id .endif +.if exists(/bin/install) +TOOLS_PLATFORM.install?= /bin/install +.else TOOLS_PLATFORM.install?= /usr/bin/install +.endif .if exists(/sbin/install-info) TOOLS_PLATFORM.install-info?= /sbin/install-info .elif exists(/usr/sbin/install-info) |