Macports stopped working after xcode 4.6 upgrade
Lawrence Velázquez
larryv at macports.org
Wed Feb 20 00:47:13 PST 2013
On Feb 20, 2013, at 3:22 AM, Harald Hanche-Olsen <hanche at math.ntnu.no> wrote:
> ["Richard R. Cahilig" <chr05210084 at gmail.com> (2013-02-19 22:39:32 UTC)]
>
>> Sorry about the typo.
>>
>> export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
>
> Another way to do that is to put this in a file in /etc/paths.d/:
>
> /opt/local/bin
> /opt/local/sbin
These are not equivalent. Directory entries added via /etc/paths.d are tacked onto the *end* of the default PATH, while the quoted "export" statement adds them to the *beginning*. The latter is necessary if you want your shell to find MacPorts executables before system ones.
vq
More information about the macports-users
mailing list