Sat Dec 5 13:15:58 2020 UTC ()
tools.Linux.mk: Consider /bin/find as well


(js)
diff -r1.64 -r1.65 pkgsrc/mk/tools/tools.Linux.mk

cvs diff -r1.64 -r1.65 pkgsrc/mk/tools/tools.Linux.mk (expand / switch to unified diff)

--- pkgsrc/mk/tools/tools.Linux.mk 2020/05/28 14:47:36 1.64
+++ pkgsrc/mk/tools/tools.Linux.mk 2020/12/05 13:15:58 1.65
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: tools.Linux.mk,v 1.64 2020/05/28 14:47:36 nia Exp $ 1# $NetBSD: tools.Linux.mk,v 1.65 2020/12/05 13:15:58 js Exp $
2# 2#
3# System-supplied tools for the Linux operating system. 3# System-supplied tools for the Linux operating system.
4 4
5TOOLS_PLATFORM.[?= [ # shell builtin 5TOOLS_PLATFORM.[?= [ # shell builtin
6.if exists(/etc/debian_version) 6.if exists(/etc/debian_version)
7TOOLS_PLATFORM.awk?= /usr/bin/awk 7TOOLS_PLATFORM.awk?= /usr/bin/awk
8.else 8.else
9TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk} 9TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk}
10.endif 10.endif
11.if exists(/usr/bin/autopoint) 11.if exists(/usr/bin/autopoint)
12TOOLS_PLATFORM.autopoint?= /usr/bin/autopoint 12TOOLS_PLATFORM.autopoint?= /usr/bin/autopoint
13.endif 13.endif
14.if exists(/bin/basename) 14.if exists(/bin/basename)
@@ -89,27 +89,31 @@ TOOLS_PLATFORM.env?= /usr/bin/env @@ -89,27 +89,31 @@ TOOLS_PLATFORM.env?= /usr/bin/env
89TOOLS_PLATFORM.expr?= /usr/bin/expr 89TOOLS_PLATFORM.expr?= /usr/bin/expr
90.elif exists(/bin/expr) 90.elif exists(/bin/expr)
91TOOLS_PLATFORM.expr?= /bin/expr 91TOOLS_PLATFORM.expr?= /bin/expr
92.endif 92.endif
93TOOLS_PLATFORM.false?= false # shell builtin 93TOOLS_PLATFORM.false?= false # shell builtin
94.if exists(/bin/fgrep) 94.if exists(/bin/fgrep)
95TOOLS_PLATFORM.fgrep?= /bin/fgrep 95TOOLS_PLATFORM.fgrep?= /bin/fgrep
96TOOLS_PLATFORM.gfgrep?= /bin/fgrep 96TOOLS_PLATFORM.gfgrep?= /bin/fgrep
97.elif exists(/usr/bin/fgrep) 97.elif exists(/usr/bin/fgrep)
98TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep 98TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep
99TOOLS_PLATFORM.gfgrep?= /usr/bin/fgrep 99TOOLS_PLATFORM.gfgrep?= /usr/bin/fgrep
100.endif 100.endif
101TOOLS_PLATFORM.file?= /usr/bin/file 101TOOLS_PLATFORM.file?= /usr/bin/file
 102.if exists(/bin/find)
 103TOOLS_PLATFORM.find?= /bin/find
 104.else
102TOOLS_PLATFORM.find?= /usr/bin/find 105TOOLS_PLATFORM.find?= /usr/bin/find
 106.endif
103.if exists(/etc/debian_version) 107.if exists(/etc/debian_version)
104. if exists(/usr/bin/gawk) 108. if exists(/usr/bin/gawk)
105TOOLS_PLATFORM.gawk?= /usr/bin/gawk 109TOOLS_PLATFORM.gawk?= /usr/bin/gawk
106. endif 110. endif
107.else 111.else
108. if exists(/bin/awk) 112. if exists(/bin/awk)
109TOOLS_PLATFORM.gawk?= /bin/awk 113TOOLS_PLATFORM.gawk?= /bin/awk
110. else 114. else
111TOOLS_PLATFORM.gawk?= /usr/bin/awk 115TOOLS_PLATFORM.gawk?= /usr/bin/awk
112. endif 116. endif
113.endif 117.endif
114.if exists(/usr/bin/gettext) 118.if exists(/usr/bin/gettext)
115TOOLS_PLATFORM.gettext?= /usr/bin/gettext 119TOOLS_PLATFORM.gettext?= /usr/bin/gettext