Make interprets a rule like ".for.o:" as a ".for"-directive. Fix: Following patch solves the problem for me but if a suffix equals any other directive, the same error will probably show up. /* + * for is only valid if a space-character comes next + */ + if (!isspace((u_char)*ptr)) + return (FALSE); + + /* * Skip space between for and the variable. */ for (ptr++; *ptr && isspace((u_char)*ptr); ptr++)--GXSjIh9nLAFOVcBLDCrp1rAK0eEnR5q5c2Wortyz9GH4nvDD Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- make/for.c Tue May 10 14:02:15 2005 +++ makeX/for.c Tue Dec 20 13:37:23 2005 @@ -101,6 +101,12 @@ ptr = line; How-To-Repeat: Create a Makefile containing .SUFFIXES: .for .for.o: and run make.
Hello, is it possible to implement the patch I have submitted? It would take five minutes and the pr could be closed... Andreas
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Fixed in all supported versions of FreeBSD after import of bmake.