Subject: Re: Building multiple packages
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: segv <segv@netctl.net>
List: netbsd-users
Date: 08/26/2005 16:11:33
On Fri, 26 Aug 2005 17:03:03 +0200
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:

> On Fri, Aug 26, 2005 at 04:57:16PM +0200, Jan Danielsson wrote:
> > Is it safe to build multiple packages at the same time? I have already
> > done so a few times when I know that there are no common dependencies,
> > but if there were, could something break?
> 
> pkgsrc can use simple locking with shlock(1), define PKGSRC_LOCKTYPE to
> "sleep" or "once" in your mk.conf.

So how does this work, i.e. what's the difference between sleep or once? If
package A depends on package B and I start building both at the same time, does
that mean A will be "put to sleep" until B is built and installed?