error while compile port

Warren Block wblock at wonkity.com
Sun Jan 9 00:33:42 UTC 2011


On Sat, 8 Jan 2011, RW wrote:

> On Sat, 8 Jan 2011 22:09:31 +0000
> Bruce Cran <bruce at cran.org.uk> wrote:
>
>> On Sat, 8 Jan 2011 23:43:22 +0200
>> ??????? ??????? <kes-kes at yandex.ru> wrote:
>>
>>> cd /usr/ports/<any>/<port>
>>> make -j 16 install
>>
>> Don't do that then :)
>>
>> Ports which are marked MAKE_JOBS_SAFE will automatically be built
>> using -j as far as I know.
>
>
> They are also doing very different things. MAKE_JOBS_SAFE applies -j to
> GNU make, which is invoked to do the actual compiling of
> third-party software. make -j 16 install applies -j to BSD make, which
> is used to implement the ports system itself.

gmake isn't used by every port, AFAIK.  But I can't quite come up with a 
clear way of saying that I think -j applies to the top-level make (the 
one running the ports system) while MAKE_JOBS_SAFE/MAKE_JOBS_NUMBER is 
applied to the make(s) actually building the port.


More information about the freebsd-questions mailing list