portinstall breaks with -m "-j 4"
LoN_Kamikaze at gmx.de
Sat Jul 22 11:26:02 UTC 2006
Sergey Matveychuk wrote:
> [LoN]Kamikaze wrote:
>> When a port installs dependencies prior to building and the -j flag is set for make, portupgrade somehow breaks installing dependencies. If I simply do
>> # cd /usr/ports/category/port
>> # make install -j 4
>> it works fine, but the command
>> # portinstall category/port -m '-j 4'
>> does not work if dependencies have to be installed. I have tried to get some insight in this and it seems that the ports depended on simply head to the do-install target, omitting things like do-extract, do-patch and do-build.
>> The cause is a mystery to me, though.
> -j is not supported for ports.
Well, it should be, with all the multi-core CPUs coming. And all other targets work fine with -j. It's solely the install target that's broken.
Is there any reason why it is not supported?
More information about the freebsd-ports