Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 13:33:40 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Craig Leres <leres@ee.lbl.gov>, freebsd-hackers@freebsd.org
Subject:   Re: poudriere 3.2.0 vs. "local" ports
Message-ID:  <1510778020.99235.334.camel@freebsd.org>
In-Reply-To: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov>
References:  <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1510778020.99235.334.camel>