Ticket #24046: portconfigure.tcl.diff
File portconfigure.tcl.diff, 1.3 KB (added by macports@…, 15 years ago) |
---|
-
port1.0/portconfigure.tcl
old new 206 206 macports-gcc-4.2 { set name "MacPorts gcc 4.2" } 207 207 macports-gcc-4.3 { set name "MacPorts gcc 4.3" } 208 208 macports-gcc-4.4 { set name "MacPorts gcc 4.4" } 209 macports-llvm-gcc-4.2 { set name "MacPorts llvm-gcc 4.2" } 209 210 default { return -code error "Invalid value for configure.compiler" } 210 211 } 211 212 ui_debug "Using compiler '$name'" … … 449 450 f90 { set ret ${prefix}/bin/gfortran-mp-4.4 } 450 451 } 451 452 } 453 macports-llvm-gcc-4.2 { 454 switch -exact ${type} { 455 cc { set ret ${prefix}/bin/llvm-gcc-4.2 } 456 objc { set ret ${prefix}/bin/llvm-gcc-4.2 } 457 cxx { set ret ${prefix}/bin/llvm-g++-4.2 } 458 cpp { set ret ${prefix}/bin/llvm-cpp-4.2 } 459 fc { set ret ${prefix}/bin/llvm-gfortran-4.2 } 460 f77 { set ret ${prefix}/bin/llvm-gfortran-4.2 } 461 f90 { set ret ${prefix}/bin/llvm-gfortran-4.2 } 462 } 463 } 452 464 } 453 465 return $ret 454 466 }