From fd843fcea3b686e17fabec1aa72e494a82c10564 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 17 Jul 2005 20:51:04 +0000 Subject: 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. --- mk/tools/replace.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mk/tools') 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 -- cgit v1.2.3