Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 79AA763B121 for ; Tue, 23 Dec 2008 22:34:27 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 00C1663B17A; Tue, 23 Dec 2008 22:34:27 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 2CDAB63B174 for ; Tue, 23 Dec 2008 22:34:26 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 1A3E1175D0; Tue, 23 Dec 2008 22:34:26 +0000 (UTC) From: David Laight Subject: CVS commit: pkgsrc/mk/tools To: pkgsrc-changes@NetBSD.org Reply-To: dsl@netbsd.org Message-Id: <20081223223426.1A3E1175D0@cvs.netbsd.org> Date: Tue, 23 Dec 2008 22:34:26 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: dsl Date: Tue Dec 23 22:34:26 UTC 2008 Modified Files: pkgsrc/mk/tools: replace.mk Log Message: Use a temporary variable to hold ${_dep_:C/\:.*$//} since it is used as a modifier on another variable and would need to be escaped as :M${_dep_\:C/\\\:.*$//} in order for the modifiers to be parsed correctly. This all used to work because _dep_ is a .for loop control variable which was substituted in an earlier pass through the line. Recent changes leave .for loop control variables to be substituted during normal expansion. Adding the \ would leave the script non-working with theolder make. OK'd by Beefy To generate a diff of this commit: cvs rdiff -r1.216 -r1.217 pkgsrc/mk/tools/replace.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.