make single-suffix inference rules ignored for paths with slashes
OpenBSD "make" does not correctly apply single-suffix inference rules
to paths containing slashes. Double-suffix inference rules work
correctly in this situation. Here's a little demonstration, starting
with a double-suffix inference rule and a sub-directory:
The inference rule does not fire and nothing is built. It looks like
this bug has been fixed, probably by accident, in other forks of bmake,
such as in FreeBSD (which works correctly for all three examples).
Re: make single-suffix inference rules ignored for paths with slashes
I've looked at this. So far no real clue.
The maddening thing is that the code that triggers single suffix in
the non directory case is the same in freebsd's bmake and ours,
so obviously it doesn't trigger when there's an extra directory, as
the paths don't match.
I'll have to check if there's some sanitization of prefix that I haven't
Still the most convoluted part of that program... :(