Is there a way to define default options for use by make in
building/updating the pkgsrc system?
I'm running on a dual processor quad core machine, and would like
make to
always use the -j 9 to utilize all the cores.
When I use pkg_chk to do updates, I don't see a way to insert that
option.
Put the following in /etc/mk.conf:
MAKE_JOBS=9
And then be prepared to manage local package Makefiles which fail
to build
in parallel, e.g. games/xpat2. They'll need the following to be
added:
MAKE_JOBS_SAFE=NO
It is not that simple, sometimes it fails to build but in other cases
it builds but the result is broken. Thats for pkgsrc, basesrc is ok.
Bernd