pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Instead of passing only the path to the tools...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e3e6827becc
branches:  trunk
changeset: 508565:8e3e6827becc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Feb 21 17:39:32 2006 +0000

description:
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".

diffstat:

 mk/tools/replace.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r d9e3eea4630e -r 8e3e6827becc mk/tools/replace.mk
--- a/mk/tools/replace.mk       Tue Feb 21 17:30:52 2006 +0000
+++ b/mk/tools/replace.mk       Tue Feb 21 17:39:32 2006 +0000
@@ -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 @@
 # 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_}}



Home | Main Index | Thread Index | Old Index