| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: tools.Linux.mk,v 1.43 2008/04/04 15:49:18 tnn Exp $ | | 1 | # $NetBSD: tools.Linux.mk,v 1.44 2008/05/17 18:34:50 tnn Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the Linux operating system. | | 3 | # System-supplied tools for the Linux operating system. |
4 | | | 4 | |
5 | TOOLS_PLATFORM.[?= [ # shell builtin | | 5 | TOOLS_PLATFORM.[?= [ # shell builtin |
6 | TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk} | | 6 | TOOLS_PLATFORM.awk?= ${TOOLS_PLATFORM.gawk} |
7 | .if exists(/bin/basename) | | 7 | .if exists(/bin/basename) |
8 | TOOLS_PLATFORM.basename?= /bin/basename | | 8 | TOOLS_PLATFORM.basename?= /bin/basename |
9 | .elif exists(/usr/bin/basename) | | 9 | .elif exists(/usr/bin/basename) |
10 | TOOLS_PLATFORM.basename?= /usr/bin/basename | | 10 | TOOLS_PLATFORM.basename?= /usr/bin/basename |
11 | .endif | | 11 | .endif |
12 | TOOLS_PLATFORM.bash?= /bin/bash | | 12 | TOOLS_PLATFORM.bash?= /bin/bash |
13 | .if exists(/usr/bin/bison) | | 13 | .if exists(/usr/bin/bison) |
14 | TOOLS_PLATFORM.bison?= /usr/bin/bison | | 14 | TOOLS_PLATFORM.bison?= /usr/bin/bison |
| @@ -160,27 +160,29 @@ TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt | | | @@ -160,27 +160,29 @@ TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt |
160 | .endif | | 160 | .endif |
161 | TOOLS_PLATFORM.mv?= /bin/mv | | 161 | TOOLS_PLATFORM.mv?= /bin/mv |
162 | .if exists(/bin/nice) | | 162 | .if exists(/bin/nice) |
163 | TOOLS_PLATFORM.nice?= /bin/nice | | 163 | TOOLS_PLATFORM.nice?= /bin/nice |
164 | .elif exists(/usr/bin/nice) | | 164 | .elif exists(/usr/bin/nice) |
165 | TOOLS_PLATFORM.nice?= /usr/bin/nice | | 165 | TOOLS_PLATFORM.nice?= /usr/bin/nice |
166 | .endif | | 166 | .endif |
167 | .if exists(/usr/bin/nroff) | | 167 | .if exists(/usr/bin/nroff) |
168 | TOOLS_PLATFORM.nroff?= /usr/bin/nroff | | 168 | TOOLS_PLATFORM.nroff?= /usr/bin/nroff |
169 | .endif | | 169 | .endif |
170 | .if exists(/usr/bin/openssl) | | 170 | .if exists(/usr/bin/openssl) |
171 | TOOLS_PLATFORM.openssl?= /usr/bin/openssl | | 171 | TOOLS_PLATFORM.openssl?= /usr/bin/openssl |
172 | .endif | | 172 | .endif |
| | | 173 | .if exists(/usr/bin/patch) |
173 | TOOLS_PLATFORM.patch?= /usr/bin/patch | | 174 | TOOLS_PLATFORM.patch?= /usr/bin/patch |
| | | 175 | .endif |
174 | .if exists(/usr/bin/printf) | | 176 | .if exists(/usr/bin/printf) |
175 | TOOLS_PLATFORM.printf?= /usr/bin/printf | | 177 | TOOLS_PLATFORM.printf?= /usr/bin/printf |
176 | .endif | | 178 | .endif |
177 | TOOLS_PLATFORM.pwd?= /bin/pwd | | 179 | TOOLS_PLATFORM.pwd?= /bin/pwd |
178 | TOOLS_PLATFORM.rm?= /bin/rm | | 180 | TOOLS_PLATFORM.rm?= /bin/rm |
179 | TOOLS_PLATFORM.rmdir?= /bin/rmdir | | 181 | TOOLS_PLATFORM.rmdir?= /bin/rmdir |
180 | .if exists(/bin/sdiff) | | 182 | .if exists(/bin/sdiff) |
181 | TOOLS_PLATFORM.sdiff?= /bin/sdiff | | 183 | TOOLS_PLATFORM.sdiff?= /bin/sdiff |
182 | .elif exists(/usr/bin/sdiff) | | 184 | .elif exists(/usr/bin/sdiff) |
183 | TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff | | 185 | TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff |
184 | .endif | | 186 | .endif |
185 | TOOLS_PLATFORM.sed?= ${TOOLS_PLATFORM.gsed} | | 187 | TOOLS_PLATFORM.sed?= ${TOOLS_PLATFORM.gsed} |
186 | TOOLS_PLATFORM.sh?= /bin/sh | | 188 | TOOLS_PLATFORM.sh?= /bin/sh |