-j2 default and sudo usage

Anil Madhavapeddy anil at recoil.org
Thu Jul 30 07:39:36 PDT 2009


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


More information about the macports-dev mailing list