Changeset 97744


Ignore:
Timestamp:
Sep 14, 2012, 6:22:00 AM (12 years ago)
Author:
jeremyhu@…
Message:

libstdcxx*: Fix a missing symbol on some systems (#36093)

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

Legend:

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

    r97725 r97744  
    5353
    5454patchfiles          ppc_fde_encoding.diff
     55patch.dir           ${workpath}/gcc-${version}
     56
    5557patch.dir           ${workpath}/gcc-${version}
    5658
     
    125127    # Revision subport separately from port for now in order to not force
    126128    # rebuilds of gcc while ironing out the wrinkles in libstdcxx
    127     revision 100
     129    revision 101
     130
     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
    128135
    129136    depends_run-delete path:lib/.libstdcxx:libstdcxx
     
    163170            }
    164171        }
    165 
    166         # Some linkers don't optimize this unused link away.  TODO: Fix this in the build system
    167         system "install_name_tool -change ${prefix}/lib/libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib ${destroot}${prefix}/lib/libstdc++.6.dylib"
    168172    }
    169173} else {
  • trunk/dports/lang/gcc48/Portfile

    r97725 r97744  
    3939
    4040depends_skip_archcheck-append gcc_select ld64 cctools
     41
     42patch.dir           ${workpath}/gcc-${version}
    4143
    4244set major           4.8
     
    106108    # Revision subport separately from port for now in order to not force
    107109    # rebuilds of gcc while ironing out the wrinkles in libstdcxx
    108     revision 100
     110    revision 101
     111
     112    # We might want to consider adding this patch to the gcc subport as well
     113    # since it removes stuff that doesn't really make sense in the context of
     114    # MacPorts
     115    patchfiles-append  no-runtime-stubs.patch
    109116
    110117    depends_run-delete port:${subport}
     
    144151            }
    145152        }
    146 
    147         # Some linkers don't optimize this unused link away.  TODO: Fix this in the build system
    148         system "install_name_tool -change ${prefix}/lib/libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib ${destroot}${prefix}/lib/libstdc++.6.dylib"
    149153    }
    150154} else {
Note: See TracChangeset for help on using the changeset viewer.