[89625] trunk/dports/math/slepc/Portfile
mmoll at macports.org
mmoll at macports.org
Sat Feb 4 09:16:42 PST 2012
Revision: 89625
http://trac.macports.org/changeset/89625
Author: mmoll at macports.org
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
+ } else {
+ return -code error "Please install a fortran compiler by installing one of the following ports: gcc42, gcc43, gcc44, gcc45, gcc46, or g95."
+ }
+ }
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120204/d2777efb/attachment.html>
More information about the macports-changes
mailing list