diff options
author | schweikh <schweikh@FreeBSD.org> | 2002-01-12 10:45:27 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2002-01-12 10:45:27 +0000 |
commit | 0b6e93125f421559059abd41812dcb6ee6194d32 (patch) | |
tree | 1f71408e3573681c5ae8beed6e01929ac5dbb193 /usr.bin | |
parent | 9139b79a09596a7c993260992c7798810bfeb066 (diff) | |
download | FreeBSD-src-0b6e93125f421559059abd41812dcb6ee6194d32.zip FreeBSD-src-0b6e93125f421559059abd41812dcb6ee6194d32.tar.gz |
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
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 12cd4f5..f219831 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -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 |