[111764] trunk/dports/math/atlas/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Oct 1 03:41:39 PDT 2013


On Oct 1, 2013, at 04:11, vince at macports.org wrote:

> Revision: 111764
>          https://trac.macports.org/changeset/111764
> Author:   vince at macports.org
> Date:     2013-10-01 02:11:28 -0700 (Tue, 01 Oct 2013)
> Log Message:
> -----------
> Re-enable the +clang variant for XCode > 5
> 
> Modified Paths:
> --------------
>    trunk/dports/math/atlas/Portfile
> 
> Modified: trunk/dports/math/atlas/Portfile
> ===================================================================
> --- trunk/dports/math/atlas/Portfile	2013-10-01 06:53:03 UTC (rev 111763)
> +++ trunk/dports/math/atlas/Portfile	2013-10-01 09:11:28 UTC (rev 111764)
> @@ -93,8 +93,10 @@
>                         description {use XCode clang and gfortran} {
> 
>     pre-fetch {
> -        return -code error        "Use of clang is temporarily disabled.\
> -                                   Please choose gcc47 instead."
> +        if {${xcodeversion} < 5.0} {
> +            return -code error    "This clang version is not supported.\
> +                                    Please upgrade to Xcode 5."
> +        }

Version numbers are strings, not floating-point numbers. You need to use the [vercmp] procedure to compare them.




More information about the macports-dev mailing list