Opened 11 years ago

Last modified 11 years ago

#38758 closed update

update gcc48 to 4.8.0 release and change libstdc++-devel subport to libstdc++ — at Version 1

Reported by: howarth@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: gcc48

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The attached Portfile.diff updates the gcc48 Portfile to build the 4.8.0 release. It also merges in the differences with the gcc47 Portfile such as using ecj (which is required for gcj to compile java). This works fine on darwin10 and later which have the compatibility unwinder. It also adds the skip-libffi-install.patch patch from upstream. The gcc 4.8.0 release, which has an remerge of upstream libffi) installs files which conflict with a libffi package. The patch prevents libffi from installing as it is unnecessary at run time. The libffi static lib is only used as a convenience library in building libgcj and libffi doesn't need to be installed. The new Portfile also switches the libstdc++-devel subport to the libstdc++ subport.

Change History (2)

Changed 11 years ago by howarth@…

Attachment: skip-libffi-install.patch added

patch to skip installation of libffi

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to mww@…

This had previously been requested in #38500.

As mentioned in comment:ticket:38500:6, the epoch must be increased, otherwise users will not be prompted to upgrade.

If the libstdcxx-devel subport is changed to libstdcxx, as I agree it probably should be, then the libstdcxx subport needs to be removed from the gcc47 port in the same commit, otherwise there will be indexing problems.

Note: See TracTickets for help on using tickets.