summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2017-05-06 16:33:54 +0000
committersevan <sevan@pkgsrc.org>2017-05-06 16:33:54 +0000
commit39a94ea1df5d2d7a64db5efa3a836ed6bc40d421 (patch)
tree0a80ff203f20bc4f496f7b4a685d5e189ef63358
parentf71149bae2fc09643b02c29a6b26fb6a31e6737c (diff)
downloadpkgsrc-39a94ea1df5d2d7a64db5efa3a836ed6bc40d421.tar.gz
The version of find(1) included in Darwin did not support {} + being passed to
the exec option up until version 9 (Leopard). sysutils/findutils should be used on prior releases. This resolves packaging Python modules which utilise lang/python/egg.mk. find(1) is called here with '{}' +; passed to exec option.
-rw-r--r--mk/tools/tools.Darwin.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Darwin.mk b/mk/tools/tools.Darwin.mk
index f3fb7abbb22..c9b363625fc 100644
--- a/mk/tools/tools.Darwin.mk
+++ b/mk/tools/tools.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.56 2016/04/11 04:49:41 dbj Exp $
+# $NetBSD: tools.Darwin.mk,v 1.57 2017/05/06 16:33:54 sevan Exp $
#
# System-supplied tools for the Darwin (Mac OS X) operating system.
@@ -42,7 +42,9 @@ TOOLS_PLATFORM.expr?= /bin/expr
TOOLS_PLATFORM.false?= false # shell builtin
TOOLS_PLATFORM.fgrep?= /usr/bin/fgrep
TOOLS_PLATFORM.file?= /usr/bin/file
+.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
TOOLS_PLATFORM.find?= /usr/bin/find
+.endif
TOOLS_PLATFORM.flex?= /usr/bin/flex
TOOLS_PLATFORM.ftp?= /usr/bin/ftp
.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)