Revision
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

Diff

Modified: trunk/dports/math/atlas/Portfile (111785 => 111786)


--- 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."
         }