Ticket #39476: Portfile-arpack.diff4

File Portfile-arpack.diff4, 964 bytes (added by dstrubbe (David Strubbe), 11 years ago)
Line 
1--- Portfile_107142     2013-06-22 13:07:02.000000000 -0400
2+++ Portfile    2013-06-22 13:06:41.000000000 -0400
3@@ -77,7 +77,7 @@
4     depends_lib-append     port:openmpi
5     configure.args-delete  --disable-mpi
6     configure.args-append  --enable-mpi
7-    configure.env-append   F77=${prefix}/bin/openmpif77
8+    configure.env-append   F77=${prefix}/bin/openmpif77 MPIF77=${prefix}/bin/openmpif77
9 }
10 
11 variant mpich description {build PARPACK, with MPICH} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 g95 openmpi {
12@@ -85,7 +85,7 @@
13     # unfortunately, by default mpich builds without Fortran support, which won't work here. ticket #39428
14     configure.args-delete  --disable-mpi
15     configure.args-append  --enable-mpi
16-    configure.env-append   F77=${prefix}/bin/mpif77
17+    configure.env-append   F77=${prefix}/bin/mpif77 MPIF77=${prefix}/bin/mpif77
18 }
19 
20 if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] \