Make substitutions in internal macros like $(@F:.o=.c) work.

This should not affect our build process, as

	find /usr/src -name Makefile | xargs grep '@[DF]'

has no matches (other than FreeBSD.org email addresses :-)

PR:		bin/24377
Submitted by:	Mark Valentine <mark@thuvia.demon.co.uk>
Reviewed by:	Matthew Emmerton <matt@gsicomp.on.ca>
MFC after:	4 weeks
This commit is contained in:
Jens Schweikhardt 2002-01-12 10:45:27 +00:00
parent 8128d1f555
commit e3e5c7667e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89282

View File

@ -1599,7 +1599,7 @@ Var_Parse (str, ctxt, err, lengthPtr, freePtr)
vname[1] = '\0';
v = VarFind(vname, ctxt, 0);
if (v != (Var *)NULL) {
if (v != (Var *)NULL && !haveModifier) {
/*
* No need for nested expansion or anything, as we're
* the only one who sets these things and we sure don't