OSX Leopard and PATH issue

Rainer Müller raimue at macports.org
Sun May 11 16:24:58 PDT 2008


Merton Campbell Crockett wrote:
> If you want all users on your system to have /opt/local/bin and /opt/ 
> local/sbin in their PATH.  Create the following file, /private/etc/ 
> paths.d/Macports.  The file should contain each path element on a  
> separate line.

No, this adds /opt/local/bin after the usual system paths. Usually this 
is not what you want. Let each user add /opt/local/bin in 
.profile/.bash_profile in front of the rest of PATH, so MacPorts takes 
precedence over the tools provided by the system.

Rainer


More information about the macports-users mailing list