pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools The version of find(1) included in Darwin did...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5ad03b0bab6
branches:  trunk
changeset: 362153:d5ad03b0bab6
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sat May 06 16:33:54 2017 +0000

description:
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.

diffstat:

 mk/tools/tools.Darwin.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 071121e9e904 -r d5ad03b0bab6 mk/tools/tools.Darwin.mk
--- a/mk/tools/tools.Darwin.mk  Sat May 06 13:49:31 2017 +0000
+++ b/mk/tools/tools.Darwin.mk  Sat May 06 16:33:54 2017 +0000
@@ -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.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].*-*)



Home | Main Index | Thread Index | Old Index