[MacPorts] #43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc

MacPorts noreply at macports.org
Fri May 16 18:05:58 PDT 2014


#43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc
---------------------+--------------------------------
 Reporter:  ionic@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  gcc_select
---------------------+--------------------------------
 As reported on the macports-users mailing list, (mport)select should also
 create a symlink for ${prefix}/cc to the selected GCC version.

 As the select function only takes a list of sources and targets and no
 port is currently installing a ${prefix}/bin/cc-mp-${version} file, I see
 two ways to tackle this:

 - add a symlink in destroot for ${destroot}${prefix}/bin/cc-mp-${version}
 to ${destroot}${prefix}/bin/gcc-mp-${version} (or just plain copy the
 binary) and add both bin/cc and bin/cc-mp-$version to gcc_select and all
 select files in the *gcc* ports
 - add an entry for bin/cc in gcc_select's base file and bin/gcc-
 mp-$version in all select files in the *gcc* ports.

 What are your thoughts?

-- 
Ticket URL: <https://trac.macports.org/ticket/43734>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list