Ignore:
Timestamp:
Sep 15, 2010, 1:46:34 AM (10 years ago)
Author:
jmr@…
Message:

add macports-gcc-4.6 option for configure.compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portconfigure.tcl

    r70974 r71487  
    211211        macports-gcc-4.4 { set name "MacPorts gcc 4.4" }
    212212        macports-gcc-4.5 { set name "MacPorts gcc 4.5" }
     213        macports-gcc-4.6 { set name "MacPorts gcc 4.6" }
    213214        default { return -code error "Invalid value for configure.compiler" }
    214215    }
     
    494495                f77  { set ret ${prefix}/bin/gfortran-mp-4.5 }
    495496                f90  { set ret ${prefix}/bin/gfortran-mp-4.5 }
     497            }
     498        }
     499        macports-gcc-4.6 {
     500            switch -exact ${type} {
     501                cc   { set ret ${prefix}/bin/gcc-mp-4.6 }
     502                objc { set ret ${prefix}/bin/gcc-mp-4.6 }
     503                cxx  { set ret ${prefix}/bin/g++-mp-4.6 }
     504                cpp  { set ret ${prefix}/bin/cpp-mp-4.6 }
     505                fc   { set ret ${prefix}/bin/gfortran-mp-4.6 }
     506                f77  { set ret ${prefix}/bin/gfortran-mp-4.6 }
     507                f90  { set ret ${prefix}/bin/gfortran-mp-4.6 }
    496508            }
    497509        }
Note: See TracChangeset for help on using the changeset viewer.