Setting up multiple MacPorts copies on one machine
Rainer Müller
raimue at macports.org
Wed Apr 22 00:11:58 PDT 2009
David Bruce wrote:
> My question is how people make this simple to manage. Is there an
> established way to set up aliases, paths, etc? I want to be sure that
> if I type "sudo port", I run the default macports copy, and have a
> function or alias (say "sudo tuxport") that gives me "port" from my
> non-default installation.
To be really sure, just use the full path to the port binary. Otherwise
a alias should do fine, but note that shell aliases will not work with
sudo. You would have to create a symlink.
Rainer
More information about the macports-dev
mailing list