Thanks for that, it worked! I added the following to my root .profile: export PARALLEL_BUILD=Yes export MAKE_JOBS=4
Someone should add this to bsd.port.mk(5). Regards, Pedro de Oliveira On Sun, Mar 22, 2009 at 2:34 PM, Pedro de Oliveira <fa...@rdk.homeip.net> wrote: > Hello, > > I was wondering if there's any way to use make -j4 when building ports from > source? Any obscure option on mk.conf? > > Currently if I run on a port, for example: make -j4 install it just uses one > thread on the makefile of the port. > > Is there any way to pass the "-j4" option to make command inside the port? > > My guess is you want to use the MAKE_JOBS environment variable. Take a look in bsd.port.mk -- Jason