summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorjlam <jlam>2005-07-17 20:51:04 +0000
committerjlam <jlam>2005-07-17 20:51:04 +0000
commitfd843fcea3b686e17fabec1aa72e494a82c10564 (patch)
tree298874e54ef53df2371092303e2900aaebb41da6 /mk/tools
parente745cad88b7d547d453388302fa4a511ffcaad88 (diff)
downloadpkgsrc-fd843fcea3b686e17fabec1aa72e494a82c10564.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/tools')
-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