MacPorts and the bash PATH
问题 I am using 10.8.1 (Mountain Lion). After upgrading to Mountain Lion, some of my MacPorts stopped working. For an easier life, I simply cleared out /opt/local/ and reinstalled the latest version of MacPorts, followed by the ports themselves. This has had the side-effect that many of the ports I was using have gone back to their bundled OS X defaults. I opened up .profile to make sure that /opt/local/bin came first in the PATH, but that hasn't solved the problem. I suspect the output of port