On Feb 4, 2012, at 11:16, [email protected] wrote:

> Revision: 89625
>          http://trac.macports.org/changeset/89625
> Author:   [email protected]
> Date:     2012-02-04 09:16:39 -0800 (Sat, 04 Feb 2012)
> Log Message:
> -----------
> math/slepc: check more fortran compilers
> 
> Modified Paths:
> --------------
>    trunk/dports/math/slepc/Portfile
> 
> Modified: trunk/dports/math/slepc/Portfile
> ===================================================================
> --- trunk/dports/math/slepc/Portfile  2012-02-04 16:30:24 UTC (rev 89624)
> +++ trunk/dports/math/slepc/Portfile  2012-02-04 17:16:39 UTC (rev 89625)
> @@ -46,24 +46,32 @@
> variant arpack description {compile with ARPACK support} {
>     pre-fetch {
>         if {![file exists ${prefix}/lib/libparpack.a]} {
> -            return -code error "Please install the mpi variant of arpack 
> first."
> +            return -code error "Please install the openmpi variant of arpack 
> first."
>         }
>     }
>     # This is a rather fragile way to figure out where the fortran library 
> can be
>     # found that is needed to link against libparpack.a:
> -    if {[file exists ${prefix}/lib/gcc44]} {
> -        set fortrandir ${prefix}/lib/gcc44
> +    if {[file exists ${prefix}/lib/gcc46]} {
> +        set fortrandir ${prefix}/lib/gcc46
>     } else {
> -        if {[file exists ${prefix}/lib/gcc43]} {
> -            set fortrandir ${prefix}/lib/gcc43
> +        if {[file exists ${prefix}/lib/gcc45]} {
> +            set fortrandir ${prefix}/lib/gcc45
>         } else {
> -            if {[file exists ${prefix}/lib/gcc42]} {
> -                set fortrandir ${prefix}/lib/gcc42
> +            if {[file exists ${prefix}/lib/gcc44]} {
> +                set fortrandir ${prefix}/lib/gcc44
>             } else {
> -                if {[file exists ${prefix}/lib/g95]} {
> -                    set fortrandir ${prefix}/lib/gcc95
> +                if {[file exists ${prefix}/lib/gcc43]} {
> +                    set fortrandir ${prefix}/lib/gcc43
>                 } else {
> -                    return -code error "Please install a fortran compiler by 
> installing one of the following ports: gcc42, gcc43, gcc44, or g95."
> +                    if {[file exists ${prefix}/lib/gcc42]} {
> +                        set fortrandir ${prefix}/lib/gcc42
> +                    } else {
> +                        if {[file exists ${prefix}/lib/g95]} {
> +                            set fortrandir ${prefix}/lib/gcc95

Should this be "g95" instead of "gcc95"?


> +                        } else {
> +                            return -code error "Please install a fortran 
> compiler by installing one of the following ports: gcc42, gcc43, gcc44, 
> gcc45, gcc46, or g95."
> +                        }
> +                    }




_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to