diff options
author | jperkin <jperkin@pkgsrc.org> | 2019-06-06 11:54:33 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2019-06-06 11:54:33 +0000 |
commit | fb401463e5db131d637e16fed2808150dd3bd9aa (patch) | |
tree | d7ea2519473ab9af224116abf72f15f294551ffa /mk/tools | |
parent | a9fcfad7fda849c5ca2c538f06038691aa224a6b (diff) | |
download | pkgsrc-fb401463e5db131d637e16fed2808150dd3bd9aa.tar.gz |
mk/tools: Ensure GNU grep is used when requested.
Previously a "grep" tool was created, but GREP still pointed at the platform
grep, breaking any package that used the environment variables rather than
PATH when the native platform grep does not have GNU features.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/replace.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index a8b4f66db32..8d1986ec4e4 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.289 2019/04/03 18:37:24 rillig Exp $ +# $NetBSD: replace.mk,v 1.290 2019/06/06 11:54:33 jperkin Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -982,6 +982,7 @@ MAKEFLAGS+= TOOLS_IGNORE.ggrep= TOOLS_DEPENDS.ggrep?= grep>=2.5.1:../../textproc/grep . for _t_ in ${_TOOLS.grep} TOOLS_CREATE+= g${_t_} +TOOLS_PATH.${_t_}= ${LOCALBASE}/bin/g${_t_} TOOLS_PATH.g${_t_}= ${LOCALBASE}/bin/g${_t_} TOOLS_ALIASES.g${_t_}= ${_t_} . endfor |