Changeset 98487


Ignore:
Timestamp:
Oct 6, 2012, 9:45:20 PM (12 years ago)
Author:
jeremyhu@…
Message:

gcc4[78]: emutls fix for libstdcxx{,-devel} and linking fix for Mountain Lion

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53453
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54806

Location:
trunk/dports/lang
Files:
1 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/gcc47/Portfile

    r98368 r98487  
    5252depends_skip_archcheck-append gcc_select ld64 cctools
    5353
    54 patchfiles          ppc_fde_encoding.diff
    55 patch.dir           ${workpath}/gcc-${version}
    56 
     54patchfiles          ppc_fde_encoding.diff  gcc-PR-53453.patch
    5755patch.dir           ${workpath}/gcc-${version}
    5856
     
    129127    conflicts       libstdcxx-devel
    130128
    131     # We might want to consider adding this patch to the gcc subport as well
    132     # since it removes stuff that doesn't really make sense in the context of
    133     # MacPorts
    134     patchfiles-append  no-runtime-stubs.patch
     129    post-patch {
     130        # Force linking against a static libgcc
     131        reinplace "/DENABLE_SHARED_LIBGCC/d" ${patch.dir}/gcc/Makefile.in
     132    }
    135133
    136134    depends_run-delete path:lib/libstdc\\\\+\\\\+.6.dylib:libstdcxx
  • trunk/dports/lang/gcc48/Portfile

    r98368 r98487  
    88
    99version             4.8-20120930
     10# reset revision in libstdcxx-devel upon bump
    1011revision            1
    1112platforms           darwin
     
    108109if {${subport} == "libstdcxx-devel"} {
    109110    conflicts       libstdcxx
     111
     112    # delete this revision as well when bumping base version
     113    revision 2
    110114   
    111     # We might want to consider adding this patch to the gcc subport as well
    112     # since it removes stuff that doesn't really make sense in the context of
    113     # MacPorts
    114     patchfiles-append  no-runtime-stubs.patch
     115    post-patch {
     116        # Force linking against a static libgcc
     117        reinplace "/DENABLE_SHARED_LIBGCC/d" ${patch.dir}/gcc/Makefile.in
     118    }
    115119
    116120    depends_run-delete port:${subport}
Note: See TracChangeset for help on using the changeset viewer.