Changeset 98042


Ignore:
Timestamp:
Sep 24, 2012, 1:22:57 AM (12 years ago)
Author:
jeremyhu@…
Message:

gcc*: Fix +universal g++ to use libstdcxx, bump gcc48 to 20120916

Location:
trunk/dports/lang
Files:
7 edited

Legend:

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

    r97901 r98042  
    66name                    gcc42
    77version                 4.2.4
    8 revision                6
     8revision                7
    99platforms               darwin
    1010categories              lang
     
    117117                ${destroot}${prefix}/share/info
    118118
     119    if {[variant_isset universal]} {
     120        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     121            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     122                eval delete [glob ${archdir}/libstdc++*]
     123
     124                # This symlink is provided as a transition aide and will be removed
     125                # with a future revision of this port.
     126                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     127            }
     128        }
     129    }
     130
    119131    # http://trac.macports.org/ticket/35770
    120132    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
  • trunk/dports/lang/gcc43/Portfile

    r97901 r98042  
    66name                gcc43
    77version             4.3.6
    8 revision            6
     8revision            7
    99platforms           darwin
    1010categories          lang
     
    137137    }
    138138
     139    if {[variant_isset universal]} {
     140        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     141            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     142                eval delete [glob ${archdir}/libstdc++*]
     143
     144                # This symlink is provided as a transition aide and will be removed
     145                # with a future revision of this port.
     146                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     147            }
     148        }
     149    }
     150
    139151    # http://trac.macports.org/ticket/35770
    140152    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
  • trunk/dports/lang/gcc44/Portfile

    r97901 r98042  
    77epoch               1
    88version             4.4.7
    9 revision            5
     9revision            6
    1010platforms           darwin
    1111categories          lang
     
    142142                ${destroot}${prefix}/share/python/classfile-44.py
    143143
     144    if {[variant_isset universal]} {
     145        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     146            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     147                eval delete [glob ${archdir}/libstdc++*]
     148
     149                # This symlink is provided as a transition aide and will be removed
     150                # with a future revision of this port.
     151                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     152            }
     153        }
     154    }
     155
    144156    # http://trac.macports.org/ticket/35770
    145157    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
  • trunk/dports/lang/gcc45/Portfile

    r97901 r98042  
    77epoch               1
    88version             4.5.4
    9 revision            5
     9revision            6
    1010platforms           darwin
    1111categories          lang
     
    147147                ${destroot}${prefix}/share/python/classfile-45.py
    148148
     149    if {[variant_isset universal]} {
     150        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     151            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     152                eval delete [glob ${archdir}/libstdc++*]
     153
     154                # This symlink is provided as a transition aide and will be removed
     155                # with a future revision of this port.
     156                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     157            }
     158        }
     159    }
     160
    149161    # http://trac.macports.org/ticket/35770
    150162    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
  • trunk/dports/lang/gcc46/Portfile

    r97901 r98042  
    77epoch               1
    88version             4.6.3
    9 revision            7
     9revision            8
    1010platforms           darwin
    1111categories          lang
     
    126126    }
    127127
     128    if {[variant_isset universal]} {
     129        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     130            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     131                eval delete [glob ${archdir}/libstdc++*]
     132
     133                # This symlink is provided as a transition aide and will be removed
     134                # with a future revision of this port.
     135                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     136            }
     137        }
     138    }
     139
    128140    # http://trac.macports.org/ticket/35770
    129141    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
  • trunk/dports/lang/gcc47/Portfile

    r97901 r98042  
    1010# When version is updated, please delete the separate revision for libstdcxx below (and delete this comment)
    1111version             4.7.1
    12 revision            6
     12revision            7
    1313platforms           darwin
    1414categories          lang
     
    182182    }
    183183
     184    if {[variant_isset universal]} {
     185        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     186            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     187                eval delete [glob ${archdir}/libstdc++*]
     188
     189                # This symlink is provided as a transition aide and will be removed
     190                # with a future revision of this port.
     191                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     192            }
     193        }
     194    }
     195
    184196    # http://trac.macports.org/ticket/35770
    185197    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
  • trunk/dports/lang/gcc48/Portfile

    r97900 r98042  
    77subport             libstdcxx-devel {}
    88
    9 # When version is updated, please delete the separate revision for libstdcxx below (and delete this comment)
    10 version             4.8-20120909
    11 revision            4
     9version             4.8-20120916
    1210platforms           darwin
    1311categories          lang
     
    2826distname            gcc-${version}
    2927
    30 checksums           rmd160  35cd54340b158c8fcccbf5f4be599f141d60f694 \
    31                     sha256  7afd0b9143a541702f767d69610b5648e7e97fdd66b02ca910175e0bad2b31c0
     28checksums           rmd160  65ed9cd112f42f04adb7fb44628bc04b9053bcf1 \
     29                    sha256  0c70f697e3b97ca861d2f89c44431d32025cdeefe36dfbe29ff07042e886d3bf
    3230
    3331supported_archs     i386 x86_64
     
    108106    conflicts       libstdcxx
    109107   
    110     # Revision subport separately from port for now in order to not force
    111     # rebuilds of gcc while ironing out the wrinkles in libstdcxx
    112     revision 101
    113 
    114108    # We might want to consider adding this patch to the gcc subport as well
    115109    # since it removes stuff that doesn't really make sense in the context of
     
    163157    }
    164158
     159    if {[variant_isset universal]} {
     160        foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
     161            if {[file exists ${archdir}/libstdc++.6.dylib]} {
     162                eval delete [glob ${archdir}/libstdc++*]
     163
     164                # This symlink is provided as a transition aide and will be removed
     165                # with a future revision of this port.
     166                ln -s ${prefix}/lib/libstdc++.6.dylib ${archdir}/libstdc++.6.dylib
     167            }
     168        }
     169    }
     170
    165171    # http://trac.macports.org/ticket/35770
    166172    eval delete [glob ${destroot}${prefix}/lib/${name}/libstdc++*]
Note: See TracChangeset for help on using the changeset viewer.