[MacPorts] #54181: [feature request]: stub port:libgcc
MacPorts
noreply at macports.org
Tue May 16 09:06:04 UTC 2017
#54181: [feature request]: stub port:libgcc
-------------------------+-------------------------
Reporter: RJVB | Owner:
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gcc, libgcc
-------------------------+-------------------------
Apologies for the curious title...
This is a feature request for those of us who build GCC from source. At
the moment we end up building everything twice because of the fact that
port:gcc depends on port:libgcc .
I'm not questioning the benefits of that interdependency but I think it
wouldn't be particularly hard to refactor the Portfile in such a way that
users who build from source can opt to merge the port:libgcc payload back
into port:gcc and turn port:libgcc into a "stub".
That won't change anything for regular users (who only need port:libgcc)
nor for the ports declaring a dependency on libgcc. The only visible
change on disk would be small, partial role-reversal: instead of port:gcc
installing symlinks to content from port:libgcc, it would be port:libgcc
installing symlinks to libraries installed by port:gcc .
I'm currently tinkering with GCC anyway so I can volunteer to do the
necessary refactoring - once Ryan has upgraded the GCC ports to take the
7.1 release into account.
--
Ticket URL: <https://trac.macports.org/ticket/54181>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list