[111786] trunk/dports/math/atlas/Portfile
vince at macports.org
vince at macports.org
Tue Oct 1 11:26:22 PDT 2013
Revision: 111786
https://trac.macports.org/changeset/111786
Author: vince at 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."
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131001/48ce0489/attachment.html>
More information about the macports-changes
mailing list