[MacPorts] #43856: Bug SelfUpdate
MacPorts
noreply at macports.org
Tue Jul 22 01:14:08 PDT 2014
#43856: Bug SelfUpdate
-------------------------+--------------------------------
Reporter: firetiti@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.0
Resolution: | Keywords:
Port: |
-------------------------+--------------------------------
Comment (by cal@…):
It's fine if you need GCC for some specific project. What isn't OK is
adjusting a symlink in `/usr/bin`, especially because it breaks stuff such
as this. Please create those symlinks in `/opt/local/bin` instead:
{{{
sudo rm /usr/bin/cc
sudo ln -s clang /usr/bin/cc
sudo ln -s gcc /opt/local/bin/cc
}}}
This way, typing `cc` on the command line will run the same compiler as
typing `gcc` would (both from `/opt/local/bin`, so your requirement should
be fulfilled), but the system wasn't changed.
--
Ticket URL: <https://trac.macports.org/ticket/43856#comment:28>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list