poudriere 3.2.0 vs. "local" ports
Ian Lepore
ian at freebsd.org
Wed Nov 15 20:34:56 UTC 2017
On Mon, 2017-11-13 at 13:32 -0800, Craig Leres wrote:
>
> I tried to find a way to insert lbl at the front of CATEGORIES in
> ../Makefile.inc:
>
> .if "$(CATEGORIES:Mlbl)" == ""
> CATEGORIES= lbl $(CATEGORIES)
> .endif
>
> but I'm not sure it's possible; make appears to considers it
> recursive
> even when it's protected by a conditional.
For this part of your questions, use CATEGORIES:= lbl $(CATEGORIES),
the := forces immediate expansion of the $(CATEGORIES) on the line,
avoiding the recursion problem.
-- Ian
More information about the freebsd-hackers
mailing list