diff options
author | jlam <jlam@pkgsrc.org> | 2005-07-17 22:07:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-07-17 22:07:49 +0000 |
commit | af0d1a3145e3597f3661c4e3d29da8db8ce41c6e (patch) | |
tree | 9fa74c97b1934aed06c7a36ea68cb5ebca1bc6da /mk | |
parent | 3fe1d2b5c8ae90cd662fc9b3a67c539aa36554c5 (diff) | |
download | pkgsrc-af0d1a3145e3597f3661c4e3d29da8db8ce41c6e.tar.gz |
Export a new variable "TOOLS_<TOOL>_PATH" that holds only the path to the
tool. This variable is defined if <TOOL> is defined for that tool (see
tools/defaults.mk) and TOOLS_PATH.<tool> is set.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 3167d40767c..9d2056b93df 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.114 2005/07/17 21:36:24 jlam Exp $ +# $NetBSD: replace.mk,v 1.115 2005/07/17 22:07:49 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -1287,6 +1287,9 @@ TOOLS_${_TOOLS_VARNAME.${_t_}}= ${_TOOLS_VARNAME.${_t_}}_not_defined_ . endif . endif . if defined(_TOOLS_VARNAME.${_t_}) +. if defined(TOOLS_PATH.${_t_}) +TOOLS_${_TOOLS_VARNAME.${_t_}}_PATH?= ${TOOLS_PATH.${_t_}} +. endif . if defined(TOOLS_${_TOOLS_VARNAME.${_t_}}) . for _v_ in ${_TOOLS_VARNAME.${_t_}} ${_v_}?= ${TOOLS_${_TOOLS_VARNAME.${_t_}}} |