Where to start: pointers? links? tickets?

Rainer Müller raimue at macports.org
Sun Aug 9 14:24:28 PDT 2009


On 2009-08-09 13:06 , Giorgio Valoti wrote:
> Re: the livechecks. Is there a way to maintain a parallel macports  
> system, say one under /opt/local and one under ~/ports?

Yes, you can have as many MacPorts installations as you would like on
the same machine. Just use distinct paths for each of them.

Use a configure line like this:
./configure --prefix=/opt/foo/ --with-tclpackage=/opt/foo/Library/Tcl
--with-applications-dir=/opt/foo/Applications
--with-frameworks-dir=/opt/foo/Library/Frameworks --enable-readline

If you want it to be a non-root installation, you would also have to use
--with-install-user, --with-install-group and --with-directory-mode.

Watch out that at the time of configure no other MacPorts installation
is visible on PATH! You want to link against the system libraries, not
another MacPorts prefix.

To save some disk space and time, multiple installations can use the
same ports tree in sources.conf so you only have to synchronize once.

Rainer


More information about the macports-dev mailing list