pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/tools



Module Name:    pkgsrc
Committed By:   js
Date:           Sat Dec  5 13:15:58 UTC 2020

Modified Files:
        pkgsrc/mk/tools: tools.Linux.mk

Log Message:
tools.Linux.mk: Consider /bin/find as well


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/mk/tools/tools.Linux.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/tools/tools.Linux.mk
diff -u pkgsrc/mk/tools/tools.Linux.mk:1.64 pkgsrc/mk/tools/tools.Linux.mk:1.65
--- pkgsrc/mk/tools/tools.Linux.mk:1.64 Thu May 28 14:47:36 2020
+++ pkgsrc/mk/tools/tools.Linux.mk      Sat Dec  5 13:15:58 2020
@@ -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.fgrep?=               /usr/bin/fgrep
 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