diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-07-27 14:38:26 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-07-27 14:38:26 +0000 |
commit | 34b697bf8e36b1e6c03d38f9350c57382fd49a69 (patch) | |
tree | 6f7d765b93a8c1dd2a392ba2e312fcfc6c3cc954 | |
parent | 4e6e2f2a3a4f00533857443c4cac13c14230890f (diff) | |
download | pkgsrc-34b697bf8e36b1e6c03d38f9350c57382fd49a69.tar.gz |
Add curl tool on Darwin and Linux if it exists, as it is very common.
-rw-r--r-- | mk/tools/tools.Darwin.mk | 5 | ||||
-rw-r--r-- | mk/tools/tools.Linux.mk | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk index f977e34eddc..932a1d5912e 100644 --- a/mk/tools/tools.Darwin.mk +++ b/mk/tools/tools.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Darwin.mk,v 1.45 2012/05/18 20:45:15 jperkin Exp $ +# $NetBSD: tools.Darwin.mk,v 1.46 2012/07/27 14:38:26 jperkin Exp $ # # System-supplied tools for the Darwin (Mac OS X) operating system. @@ -26,6 +26,9 @@ TOOLS_PLATFORM.chown?= /usr/sbin/chown TOOLS_PLATFORM.cmp?= /usr/bin/cmp TOOLS_PLATFORM.cp?= /bin/cp TOOLS_PLATFORM.csh?= /bin/tcsh +.if exists(/usr/bin/curl) +TOOLS_PLATFORM.curl?= /usr/bin/curl +.endif TOOLS_PLATFORM.cut?= /usr/bin/cut TOOLS_PLATFORM.date?= /bin/date TOOLS_PLATFORM.diff?= /usr/bin/diff diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk index c00c91cecec..1f901a7384f 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Linux.mk,v 1.48 2011/12/14 03:17:25 joerg Exp $ +# $NetBSD: tools.Linux.mk,v 1.49 2012/07/27 14:38:26 jperkin Exp $ # # System-supplied tools for the Linux operating system. @@ -47,6 +47,9 @@ TOOLS_PLATFORM.cp?= /bin/cp .if exists(/bin/tcsh) TOOLS_PLATFORM.csh?= /bin/tcsh .endif +.if exists(/usr/bin/curl) +TOOLS_PLATFORM.curl?= /usr/bin/curl +.endif .if exists(/bin/cut) TOOLS_PLATFORM.cut?= /bin/cut .elif exists(/usr/bin/cut) |