pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools tools.Linux.mk: Consider /bin/find as well



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7517010c0962
branches:  trunk
changeset: 443017:7517010c0962
user:      js <js%pkgsrc.org@localhost>
date:      Sat Dec 05 13:15:58 2020 +0000

description:
tools.Linux.mk: Consider /bin/find as well

diffstat:

 mk/tools/tools.Linux.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 4f3ec1aec152 -r 7517010c0962 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Sat Dec 05 13:15:21 2020 +0000
+++ b/mk/tools/tools.Linux.mk   Sat Dec 05 13:15:58 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.64 2020/05/28 14:47:36 nia Exp $
+# $NetBSD: tools.Linux.mk,v 1.65 2020/12/05 13:15:58 js Exp $
 #
 # System-supplied tools for the Linux operating system.
 
@@ -99,7 +99,11 @@
 TOOLS_PLATFORM.gfgrep?=                /usr/bin/fgrep
 .endif
 TOOLS_PLATFORM.file?=          /usr/bin/file
+.if exists(/bin/find)
+TOOLS_PLATFORM.find?=          /bin/find
+.else
 TOOLS_PLATFORM.find?=          /usr/bin/find
+.endif
 .if exists(/etc/debian_version)
 .  if exists(/usr/bin/gawk)
 TOOLS_PLATFORM.gawk?=          /usr/bin/gawk



Home | Main Index | Thread Index | Old Index