Revision: 111786 https://trac.macports.org/changeset/111786 Author: vince@macports.org Date: 2013-10-01 11:26:22 -0700 (Tue, 01 Oct 2013) Log Message: ----------- Use [vercmp] instead of a plain compare (thanks Ryan) Modified Paths: -------------- trunk/dports/math/atlas/Portfile Modified: trunk/dports/math/atlas/Portfile =================================================================== --- trunk/dports/math/atlas/Portfile 2013-10-01 17:38:40 UTC (rev 111785) +++ trunk/dports/math/atlas/Portfile 2013-10-01 18:26:22 UTC (rev 111786) @@ -93,7 +93,7 @@ description {use XCode clang and gfortran} { pre-fetch { - if {${xcodeversion} < 5.0} { + if {[vercmp ${xcodeversion} 5.0] < 0} { return -code error "This clang version is not supported.\ Please upgrade to Xcode 5." }
participants (1)
-
vince@macports.org