Changeset 89315 for trunk/dports/cross


Ignore:
Timestamp:
Jan 24, 2012, 10:31:47 PM (8 years ago)
Author:
ryandesign@…
Message:

Use new gcc-4.2 compiler selection block recommended at wiki:PortfileRecipes#compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/i386-mingw32-gcc/Portfile

    r85594 r89315  
    5656
    5757# segfault when built with llvm on lion: #30349
    58 if {${configure.compiler} == "clang" || ${configure.compiler} == "llvm-gcc-4.2"} {
     58if {${configure.compiler} == "llvm-gcc-4.2"} {
    5959    configure.compiler gcc-4.2
    60     if {![file executable ${configure.cc}]} {
    61         depends_build-append port:apple-gcc42
    62         configure.compiler apple-gcc-4.2
    63     }
     60} elseif {${configure.compiler} == "clang"} {
     61    depends_build-append port:apple-gcc42
     62    configure.compiler apple-gcc-4.2
     63    # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
     64    configure.cxx ${prefix}/bin/g++-apple-4.2
    6465}
    6566
Note: See TracChangeset for help on using the changeset viewer.