| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: tools.Darwin.mk,v 1.49 2013/08/18 11:45:33 tron Exp $ | | 1 | # $NetBSD: tools.Darwin.mk,v 1.50 2013/10/26 15:31:26 joerg Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the Darwin (Mac OS X) operating system. | | 3 | # System-supplied tools for the Darwin (Mac OS X) operating system. |
4 | | | 4 | |
5 | TOOLS_PLATFORM.[?= [ # shell builtin | | 5 | TOOLS_PLATFORM.[?= [ # shell builtin |
6 | TOOLS_PLATFORM.awk?= /usr/bin/awk | | 6 | TOOLS_PLATFORM.awk?= /usr/bin/awk |
7 | TOOLS_PLATFORM.basename?= /usr/bin/basename | | 7 | TOOLS_PLATFORM.basename?= /usr/bin/basename |
8 | TOOLS_PLATFORM.bash?= /bin/bash | | 8 | TOOLS_PLATFORM.bash?= /bin/bash |
9 | # Native bison (at least up to version 2.3 in OSX Lion) does not work | | 9 | # Native bison (at least up to version 2.3 in OSX Lion) does not work |
10 | # well in the tools environment and cannot locate m4sugar.m4 without | | 10 | # well in the tools environment and cannot locate m4sugar.m4 without |
11 | # BISON_PKGDATADIR being set. For now just pull in the pkgsrc tool. | | 11 | # BISON_PKGDATADIR being set. For now just pull in the pkgsrc tool. |
12 | #TOOLS_PLATFORM.bison?= /usr/bin/bison | | 12 | #TOOLS_PLATFORM.bison?= /usr/bin/bison |
13 | #TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y | | 13 | #TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y |
14 | .if exists(/usr/bin/bsdtar) | | 14 | .if exists(/usr/bin/bsdtar) |
| @@ -43,27 +43,29 @@ TOOLS_PLATFORM.false?= false # shell | | | @@ -43,27 +43,29 @@ TOOLS_PLATFORM.false?= false # shell |
43 | TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep | | 43 | TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep |
44 | TOOLS_PLATFORM.file?= /usr/bin/file | | 44 | TOOLS_PLATFORM.file?= /usr/bin/file |
45 | TOOLS_PLATFORM.find?= /usr/bin/find | | 45 | TOOLS_PLATFORM.find?= /usr/bin/find |
46 | TOOLS_PLATFORM.flex?= /usr/bin/flex | | 46 | TOOLS_PLATFORM.flex?= /usr/bin/flex |
47 | TOOLS_PLATFORM.ftp?= /usr/bin/ftp | | 47 | TOOLS_PLATFORM.ftp?= /usr/bin/ftp |
48 | .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) | | 48 | .if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) |
49 | TOOLS_PLATFORM.gmake?= /usr/bin/gnumake | | 49 | TOOLS_PLATFORM.gmake?= /usr/bin/gnumake |
50 | TOOLS_PLATFORM.gm4?= /usr/bin/gm4 | | 50 | TOOLS_PLATFORM.gm4?= /usr/bin/gm4 |
51 | .endif | | 51 | .endif |
52 | TOOLS_PLATFORM.grep?= /usr/bin/grep | | 52 | TOOLS_PLATFORM.grep?= /usr/bin/grep |
53 | .if exists(/usr/bin/groff) | | 53 | .if exists(/usr/bin/groff) |
54 | TOOLS_PLATFORM.groff?=/usr/bin/groff | | 54 | TOOLS_PLATFORM.groff?=/usr/bin/groff |
55 | .endif | | 55 | .endif |
| | | 56 | .if exists(/usr/bin/gnutar) |
56 | TOOLS_PLATFORM.gtar?= /usr/bin/gnutar | | 57 | TOOLS_PLATFORM.gtar?= /usr/bin/gnutar |
| | | 58 | .endif |
57 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f | | 59 | TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f |
58 | TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat | | 60 | TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat |
59 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} | | 61 | TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP} |
60 | TOOLS_PLATFORM.head?= /usr/bin/head | | 62 | TOOLS_PLATFORM.head?= /usr/bin/head |
61 | TOOLS_PLATFORM.hostname?= /bin/hostname | | 63 | TOOLS_PLATFORM.hostname?= /bin/hostname |
62 | TOOLS_PLATFORM.id?= /usr/bin/id | | 64 | TOOLS_PLATFORM.id?= /usr/bin/id |
63 | TOOLS_PLATFORM.ident?= /usr/bin/ident | | 65 | TOOLS_PLATFORM.ident?= /usr/bin/ident |
64 | TOOLS_PLATFORM.install?= /usr/bin/install | | 66 | TOOLS_PLATFORM.install?= /usr/bin/install |
65 | .if exists(/usr/bin/install-info) | | 67 | .if exists(/usr/bin/install-info) |
66 | TOOLS_PLATFORM.install-info?= /usr/bin/install-info | | 68 | TOOLS_PLATFORM.install-info?= /usr/bin/install-info |
67 | .endif | | 69 | .endif |
68 | .if exists(/bin/ksh) | | 70 | .if exists(/bin/ksh) |
69 | TOOLS_PLATFORM.ksh?= /bin/ksh | | 71 | TOOLS_PLATFORM.ksh?= /bin/ksh |