summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-07-17 20:51:04 +0000
committerjlam <jlam@pkgsrc.org>2005-07-17 20:51:04 +0000
commit84e1bc1cb5da473d921abd3043819097d99eb649 (patch)
tree298874e54ef53df2371092303e2900aaebb41da6 /mk
parent4846d1ce732cf3bba2247fc8ba8fb279a0a88710 (diff)
downloadpkgsrc-84e1bc1cb5da473d921abd3043819097d99eb649.tar.gz
Redo workaround in revision 1.111. We now use a loop to copy one list
to another. This appears to fix whatever hidden bug a bit more completely. "make show-var VARNAME=RM" in pkgsrc/x11/kdepim3 no longer returns an empty value. XXX I still have no idea why this "fixes" the problem. I can't seem to XXX create a test case that exposes this problem.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/replace.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index da44cdba103..21137cb63ab 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.112 2005/07/16 22:33:18 jlam Exp $
+# $NetBSD: replace.mk,v 1.113 2005/07/17 20:51:04 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -93,7 +93,9 @@ USE_TOOLS+= bison-yacc
# ones that are overridden by superseding ones.
#
.if !defined(_USE_TOOLS)
-_USE_TOOLS= ${USE_TOOLS:C/:.*//:O:u}
+. for _t_ in ${USE_TOOLS:C/:.*//:O:u}
+_USE_TOOLS+= ${_t_}
+. endfor
. if !empty(_USE_TOOLS:Mbison-yacc) # bison-yacc > yacc
_USE_TOOLS:= ${_USE_TOOLS:Nyacc}
. endif