From: Pav Lucistnik <p...@freebsd.org> Subject: Re: MAKE_JOBS_UNSAFE (some more ports) Date: Tue, 26 May 2009 10:48:25 +0200
> David Naylor pí¹e v út 26. 05. 2009 v 08:19 +0200: > >> pav: ${_MAKE_JOBS:C/-j//} won't work with DISABLE_MAKE_JOBS (or >> MAKE_JOBS_UNSAFE) since it needs to always be a positive number, secondly it >> still cannot be used for conditional code (since it is defined in the post >> section, but the whole code could always be moved to the pre section). > > I'm hesitant to modify bsd.port.mk for benefit of just four ports. > Also, I think having MAKE_JOBS_NUMBER set to 1 when the feature is in > fact disable, is counter-intuitive (because -j1 is very different to no > -j at all). > > So how about just having > > .if defined(DISABLE_MAKE_JOBS) > MAKE_JOBS_NUMBER= 1 > .else > MAKE_JOBS_NUMBER!= echo `${SYSCTL} -n kern.smp.cpus` > .endif > > in ooo makefile? for me ok. thank you -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt
pgpCZxCowHeUX.pgp
Description: PGP signature