summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-07-10 12:32:30 +0000
committerjoerg <joerg@pkgsrc.org>2017-07-10 12:32:30 +0000
commit8cd5d46b2a10be12214f47274356e6e077e00d5d (patch)
tree88bb3dfbaa22f406175726a04612b8e75b85a18e
parent4fbafa21cf48d7d63eadd47d8127d234181c8a89 (diff)
downloadpkgsrc-8cd5d46b2a10be12214f47274356e6e077e00d5d.tar.gz
Deal with wc in /bin. From Thomas Orgis.
-rw-r--r--mk/tools/tools.Linux.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk
index 3018cad4ca0..151a919f460 100644
--- a/mk/tools/tools.Linux.mk
+++ b/mk/tools/tools.Linux.mk
@@ -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 @@ TOOLS_PLATFORM.uniq?= /bin/uniq
.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