Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make(1) bug or pkgsrc bug?
On Tue, Dec 30, 2008 at 06:06:42PM +0100, Thomas Klausner wrote:
> On Tue, Dec 30, 2008 at 04:36:00PM +0100, Thomas Klausner wrote:
> > make: Unclosed substitution for (/ missing)
>
> One of these seems to come from fetch.mk.
Simpler form of the test case:
fetchfile=xyz
SITES.${fetchfile:S/=/--/}= http://host/
all:
echo ${SITES.xyz}
echo ${SITES.}
and it's definitely a make bug. It's tripping on the = in the
substitution and assigning
/--/}= http://host/
to
SITES.${fetchfile:S/
which becomes just "SITES."
The simpler form (without the for loop) breaks on older versions of
make too. :-|
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index