Changeset 98035


Ignore:
Timestamp:
Sep 23, 2012, 6:04:18 PM (12 years ago)
Author:
jeremyhu@…
Message:

apple-gcc42, llvm-gcc42: Place a symlink for libstdc++.dylib for older OS versions (#36221).

Location:
trunk/dports/lang
Files:
2 edited

Legend:

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

    r97799 r98035  
    77version                 5666.3
    88set gcc_version         4.2.1
    9 revision                8
     9revision                9
    1010categories              lang
    1111platforms               darwin
     
    234234        # http://trac.macports.org/ticket/35770
    235235        delete  ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
     236        ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
    236237    }
    237238
     
    244245        # http://trac.macports.org/ticket/35770
    245246        delete  ${destroot}${prefix}/lib/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/libstdc++.dylib
     247        ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/powerpc-apple-darwin${os.major}/4.2.1/libstdc++.dylib
    246248    }
    247249}
  • trunk/dports/lang/llvm-gcc42/Portfile

    r97663 r98035  
    55name                    llvm-gcc42
    66version                 2.9
    7 revision                3
     7revision                4
    88categories              lang
    99platforms               darwin
     
    133133            # http://trac.macports.org/ticket/35770
    134134            delete  ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
     135            ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/i686-apple-darwin${os.major}/4.2.1/libstdc++.dylib
    135136        } else {
    136137            file mkdir ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1
     
    139140            # http://trac.macports.org/ticket/35770
    140141            delete  ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1/libstdc++.dylib
     142            ln -s /usr/lib/libstdc++.6.dylib ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/4.2.1/libstdc++.dylib
    141143        }
    142144
Note: See TracChangeset for help on using the changeset viewer.