<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 10:22 AM, Harald Hanche-Olsen <span dir="ltr">&lt;<a href="mailto:hanche@math.ntnu.no" target="_blank">hanche@math.ntnu.no</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Okay, now I am curious. How does the macports installation manipulate the path? As far as I know, the above method is standard, even though it may not be what macports does. (If I installed that file there, I must have done it because it didn’t work otherwise.)</blockquote></div><br>The problem with paths.d is that it adds path entries *after* the standard ones, whereas users tend to expect that e.g. /opt/local/bin/python &quot;overrides&quot; Apple&#39;s /usr/bin/python. So MacPorts edits your .bash_profile or .profile to prepend /opt/local/bin to $PATH.<br><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>