-j2 default and sudo usage

Toby Peterson toby at apple.com
Thu Jul 30 19:52:20 PDT 2009

If you run across ports that don't build in parallel, they should have  
"use_parallel_build no" set. If you don't want to bother modifying  
(and reporting) those ports, you can set "buildmakejobs 1" in  

- Toby

On Jul 30, 2009, at 7:39 AM, Anil Madhavapeddy wrote:

> Couple of questions:
> Just installed the svn macports, and ports seem to build with -j2  
> now by default.  Is this a recent change, since loads of OCaml ports  
> break with a parallel build.  Should I go around setting each  
> individual port to have a -j1 in the Portfile, or is there some  
> other way to force a non-parallel build with a variable?
> Also, how do folks typically do non-root builds to ensure stuff  
> isn't sneaking out of the fakeroot? I've chowned a bunch of  
> directories to my user, and manually invoking fakeroot works; it  
> would be nice if sudo were automatically called when required (e.g.  
> for install).  Is there a knob for this, or do you generally just  
> invoke targets manually and add sudo when required?
> -anil
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

More information about the macports-dev mailing list