pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Move the .if test out of the .for loop becaus...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ee42795724ad
branches: trunk
changeset: 529185:ee42795724ad
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun May 27 01:44:42 2007 +0000
description:
Move the .if test out of the .for loop because the test condition doesn't
change within the .for loop.
diffstat:
mk/tools/replace.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 1d5fe3d0e699 -r ee42795724ad mk/tools/replace.mk
--- a/mk/tools/replace.mk Sat May 26 16:56:44 2007 +0000
+++ b/mk/tools/replace.mk Sun May 27 01:44:42 2007 +0000
@@ -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_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 @@
CONFIGURE_ENV+= ${_v_}=${TOOLS_VALUE_GNU.${_t_}:Q}
. endfor
. endif
-. endif
-.endfor
+. endfor
+.endif
Home |
Main Index |
Thread Index |
Old Index