Changeset 89315 for trunk/dports/aqua


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/aqua/HandBrake/Portfile

    r88713 r89315  
    129129}
    130130
    131 if {${configure.compiler} == "clang" ||
    132     ${configure.compiler} == "llvm-gcc-4.2"} {
     131if {${configure.compiler} == "llvm-gcc-4.2"} {
    133132    configure.compiler gcc-4.2
    134     if {![file executable ${configure.cc}]} {
    135         depends_build-append port:apple-gcc42
    136         configure.compiler apple-gcc-4.2
    137         # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
    138         configure.cxx ${prefix}/bin/g++-apple-4.2
    139     }
     133} elseif {${configure.compiler} == "clang"} {
     134    depends_build-append port:apple-gcc42
     135    configure.compiler apple-gcc-4.2
     136    # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
     137    configure.cxx ${prefix}/bin/g++-apple-4.2
    140138}
    141139
Note: See TracChangeset for help on using the changeset viewer.