make.conf doesn't work as expected (MAKEFLAGS and .MAKEFLAGS)

Mathieu Prevot freebsd-questions at club-internet.fr
Tue Jul 18 21:31:21 UTC 2006


On Tue, Jul 18, 2006 at 07:02:00PM +0300, Adi Pircalabu wrote:
> On Tue, 18 Jul 2006 17:42:23 +0200 Mathieu Prevot wrote:
> 
> > .if ${.CURDIR:N/usr/ports/*}
> 
> Hi, 
> do you mean:
> .if ${.CURDIR:M*/usr/ports/*}
> 
> > MAKEFLAGS+= -j 9
> > ..endif
> > 
> > but the compilation doesn't occur as if I do `make -j9`
> 
> I'd ask you what are you trying to accomplish with this value, but
> that's another story :)

My whish is to have `make -j9` outside /usr/ports without having to type
'make -j9'. It was the right argument '.if ${.CURDIR:N/usr/ports/*}'.

What can I do if it's not the right way ?

Mathieu



More information about the freebsd-questions mailing list