diff options
author | rillig <rillig@pkgsrc.org> | 2006-02-21 17:39:32 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-02-21 17:39:32 +0000 |
commit | c68eda5945ff4b2b9fbacd736c0c80fc02b66590 (patch) | |
tree | 63320bb8d92cb9ffab2008b0b81775fff32f6b4c | |
parent | 9d27b5219f152f63ebc4c47320fa6ec8a17f67a4 (diff) | |
download | pkgsrc-c68eda5945ff4b2b9fbacd736c0c80fc02b66590.tar.gz |
Instead of passing only the path to the tools to CONFIGURE_ARGS, pass
the complete command. This fixes problems when EGREP is defined as "grep
-E" instead of "egrep".
-rw-r--r-- | mk/tools/replace.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 7baca336fb0..93329d9826f 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.158 2006/02/17 19:31:33 wiz Exp $ +# $NetBSD: replace.mk,v 1.159 2006/02/21 17:39:32 rillig Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -1085,13 +1085,13 @@ ${_TOOLS_VARNAME.${_t_}}= ${TOOLS_${_TOOLS_VARNAME.${_t_}}} # searched for in the PATH, which would find the ones in ${TOOLS_DIR}. # # The value passed via the shell environment is stored in -# TOOLS_VALUE_GNU.<tool>, which defaults to just the path to the -# tool. +# TOOLS_VALUE_GNU.<tool>, which defaults to the full command line of +# the tool. # .for _t_ in ${_USE_TOOLS} . if defined(GNU_CONFIGURE) . if defined(TOOLS_${_TOOLS_VARNAME.${_t_}}) -TOOLS_VALUE_GNU.${_t_}?= ${TOOLS_PATH.${_t_}} +TOOLS_VALUE_GNU.${_t_}?= ${TOOLS_CMDLINE.${_t_}} . endif . if defined(TOOLS_VALUE_GNU.${_t_}) . for _v_ in ${_TOOLS_VARNAME_GNU.${_t_}} |