Revision: 149143 https://trac.macports.org/changeset/149143 Author: dstrubbe@macports.org Date: 2016-06-01 13:04:50 -0700 (Wed, 01 Jun 2016) Log Message: ----------- compilers portgroup: Add clang 3.9. Be more explicit about what is a Fortran variant. Modified Paths: -------------- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl Modified: trunk/dports/_resources/port1.0/group/compilers-1.0.tcl =================================================================== --- trunk/dports/_resources/port1.0/group/compilers-1.0.tcl 2016-06-01 20:03:11 UTC (rev 149142) +++ trunk/dports/_resources/port1.0/group/compilers-1.0.tcl 2016-06-01 20:04:50 UTC (rev 149143) @@ -128,7 +128,7 @@ set cdb(gcc$v,f90) ${prefix}/bin/gfortran-mp-$version } -set clang_versions {33 34 35 36 37 38} +set clang_versions {33 34 35 36 37 38 39} foreach v ${clang_versions} { # if the string is more than one character insert a '.' into it: e.g 33 -> 3.3 set version $v @@ -712,7 +712,7 @@ # this might also need to be in pre-archivefetch pre-fetch { if {${compilers.require_fortran} && [fortran_variant_name] eq ""} { - return -code error "must set at least one Fortran variant" + return -code error "must set at least one Fortran variant (e.g. +gfortran, +gccX, +g95)" } eval compilers.action_enforce_c ${compilers.required_c} eval compilers.action_enforce_f ${compilers.required_f}