dhcpcd-discuss

Re: dhcpcd doesn't build vs make-4.2.90

Yegor Yefremov

Tue Sep 10 08:29:42 2019

On Thu, Sep 5, 2019 at 3:59 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
> 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.

Time to switch to something more fancy like CMake or Meson?

Yegor

Follow-Ups:
Re: dhcpcd doesn't build vs make-4.2.90Tim Tassonis
References:
dhcpcd doesn't build vs make-4.2.90balducci
Re: dhcpcd doesn't build vs make-4.2.90Roy Marples
Archive administrator: postmaster@marples.name