different root trees for macports
jeremy at lavergne.gotdns.org
Mon Jun 25 11:20:15 PDT 2012
> Is it possible to have different root trees with macports and to
> switch between them?
> i.e. /opt/local and /usr/local
> The only thing I have found so far is:
> There are many dependency conflicts between ext2fsprogs, kde, kde3 and so on..
You need to build MacPorts from source so it knows to live in a different prefix . Then, add the prefix to your PATH and whenever you want to use MacPorts simply specify the full path to the one you want:
Btw, is highly recommended to NOT use /usr/local because several programs are hardcoded to use what is found in that path; by placing stuff there you will effectively be cross-contaminating various packages you install.
Keep in mind, a non-standard prefix is prevented from using pre-built archives from packages.macports.org.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8796 bytes
Desc: not available
More information about the macports-users