How can I prevent macports from taking over my
PATH? I still want to have the installed software show up, but I want things in the standard system paths (
/usr/bin, ...) to have precedence over anything that macports installs.
MacPorts Installer automatically modifies the environment so that MacPorts commands are called before system commands in its Postflight Script. You can type env in the terminal to see what your PATH is currently. If your ~/.profile was modified, you can manually change it back from:
You must restart the terminal for this to take effect.
If this isn't the problem, check the environment.plist with the Property List Editor:
You probably have line in your .bashrc or .profile that sources
You will have to remove that and setup your PATH (and MAN_PATH) yourself. You can use the macports file as a guide, just switch
I know it's been a while since the question was asked, but for the benefit of everyone else who finds this page:
On my system, Macports modified