diff options
author | jlam <jlam@pkgsrc.org> | 2007-05-27 01:44:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-05-27 01:44:42 +0000 |
commit | 510984a0d6b0f67f9db56fdeb836c9175c528914 (patch) | |
tree | 4b126a4adbc60a58d81085d77e35faa4d244b286 /mk | |
parent | 4fafe6072423c13099155e8a580d92ea889ac0f8 (diff) | |
download | pkgsrc-510984a0d6b0f67f9db56fdeb836c9175c528914.tar.gz |
Move the .if test out of the .for loop because the test condition doesn't
change within the .for loop.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 1397c03ed52..d8ef19e4a08 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.187 2007/05/25 15:12:52 joerg Exp $ +# $NetBSD: replace.mk,v 1.188 2007/05/27 01:44:42 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -1256,8 +1256,8 @@ ${_TOOLS_VARNAME.${_t_}}= ${TOOLS_${_TOOLS_VARNAME.${_t_}}} # 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(GNU_CONFIGURE) +. for _t_ in ${_USE_TOOLS} . if defined(TOOLS_${_TOOLS_VARNAME.${_t_}}) TOOLS_VALUE_GNU.${_t_}?= ${TOOLS_CMDLINE.${_t_}} . endif @@ -1266,5 +1266,5 @@ TOOLS_VALUE_GNU.${_t_}?= ${TOOLS_CMDLINE.${_t_}} CONFIGURE_ENV+= ${_v_}=${TOOLS_VALUE_GNU.${_t_}:Q} . endfor . endif -. endif -.endfor +. endfor +.endif |