From 0b6e93125f421559059abd41812dcb6ee6194d32 Mon Sep 17 00:00:00 2001 From: schweikh Date: Sat, 12 Jan 2002 10:45:27 +0000 Subject: 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 Reviewed by: Matthew Emmerton MFC after: 4 weeks --- usr.bin/make/var.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') 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 -- cgit v1.1