Subject: Re: Packages Collection on Multi-CPU Systems
To: James Jacocks <jjacocks@mac.com>
From: Michal Pasternak <michal@pasternak.w.lub.pl>
List: tech-pkg
Date: 03/30/2004 06:41:50
James Jacocks [Mon, Mar 29, 2004 at 11:33:07PM -0500]:
> Is there an option in /etc/mk.conf to enable package generation to use 
> "bmake -j" when appropriate?  If not, is there a process to follow to 
> manually do this?

MAKE_FLAGS=-j9 in /etc/mk.conf should do the right thing

If the problem is exactly bmake on Solaris, try hacking bsd.pkg.mk:
	.if defined(_USE_GMAKE)
	MAKE_PROGRAM=           ${GMAKE}
	# Add line below
	MAKE_FLAGS+=		-j9
	.elif defined(USE_IMAKE)

... which will add -j flag only for gmake.
-- 
Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net
For your Occupation, choose 2 of the following three: 
1) Fun, 2) Well-paying, 3) Legal.