dhcpcd-discuss

Re: dhcpcd doesn't build vs make-4.2.90

Roy Marples

Thu Sep 05 13:58:32 2019

On 05/09/2019 14:05, balducci@xxxxxxxx wrote:
hello

this is just a headsup that you might be interested in

Running on linux.

dhcpcd doesn't build vs recently released (GNU) make-4.2.90 run candidate.

The reason seems to be using suffix rules with prerequisites in both
src/Makefile and src/dev/Makefile.

 From make-4.2.90's NEWS:
     ----8<----
     * WARNING: Backward-incompatibility!
       Contrary to the documentation, suffix rules with prerequisites were being
       treated BOTH as simple targets AND as pattern rules.  Behavior now matches
       the documentation, and pattern rules are no longer created in this case.
     ---->8----

which basically says that suffix rules with prerequisites aren't
tolerated any longer

For me, running vs make-4.2.1 or the following workaround (which I
don't think is portable, though):

That's really poor on their part.
Suffix rules have worked with pre-requisites for years on other implementions such as bmake.

Roy

Follow-Ups:
Re: dhcpcd doesn't build vs make-4.2.90Yegor Yefremov
References:
dhcpcd doesn't build vs make-4.2.90balducci
Archive administrator: postmaster@marples.name