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:   jperkin
Date:           Thu Jun  6 11:54:33 UTC 2019

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.289 -r1.290 pkgsrc/mk/tools/replace.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/replace.mk
diff -u pkgsrc/mk/tools/replace.mk:1.289 pkgsrc/mk/tools/replace.mk:1.290
--- pkgsrc/mk/tools/replace.mk:1.289    Wed Apr  3 18:37:24 2019
+++ pkgsrc/mk/tools/replace.mk  Thu Jun  6 11:54:33 2019
@@ -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



Home | Main Index | Thread Index | Old Index