pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Deal with wc in /bin. From Thomas Orgis.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bd9198f2c66
branches:  trunk
changeset: 365079:5bd9198f2c66
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 10 12:32:30 2017 +0000

description:
Deal with wc in /bin. From Thomas Orgis.

diffstat:

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

diffs (21 lines):

diff -r 4bf441583ee6 -r 5bd9198f2c66 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Mon Jul 10 12:27:19 2017 +0000
+++ b/mk/tools/tools.Linux.mk   Mon Jul 10 12:32:30 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.60 2016/03/09 22:27:29 tnn Exp $
+# $NetBSD: tools.Linux.mk,v 1.61 2017/07/10 12:32:30 joerg Exp $
 #
 # System-supplied tools for the Linux operating system.
 
@@ -265,7 +265,11 @@
 .elif exists(/usr/bin/uniq)
 TOOLS_PLATFORM.uniq?=          /usr/bin/uniq
 .endif
+.if exists(/bin/wc)
+TOOLS_PLATFORM.wc?=            /bin/wc
+.elif exists(/usr/bin/wc)
 TOOLS_PLATFORM.wc?=            /usr/bin/wc
+.endif
 .if exists(/usr/bin/wget)
 TOOLS_PLATFORM.wget?=          /usr/bin/wget
 .endif



Home | Main Index | Thread Index | Old Index