MAKE_JOBS_UNSAFE (some more ports)

Pav Lucistnik pav at FreeBSD.org
Tue May 26 08:48:36 UTC 2009


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?

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Go back to bed America, your government is in control again.  Here's
American Gladiators.  Watch this, shut up.  Here's 56 channels of it.
Watch these pituitary retards bang their fuckin skulls together and
congratulate you on living in the land of freedom.
  -- Bill Hicks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090526/2c889fa7/attachment.pgp


More information about the freebsd-ports mailing list