Ticket #34369: diff.Portfile

File diff.Portfile, 839 bytes (added by numaryu, 13 years ago)
Line 
1--- Portfile.orig       2012-05-08 09:44:17.000000000 +0900
2+++ Portfile    2012-05-08 09:46:26.000000000 +0900
3@@ -25,14 +25,17 @@
4 
5 # openmpi does not have a universal variant
6 universal_variant   no
7-depends_build port:openmpi
8+#depends_build port:openmpi
9+depends_build port:mpich2
10 configure.args-append --enable-mpi home=${worksrcpath}
11 if { ${build_arch}=="x86_64" || ${build_arch}=="ppc64" } {
12     configure.args-append FFLAGS='-O2 -m64' LDFLAGS='-L${prefix}/lib'
13 } else {
14     configure.args-append FFLAGS='-O2 -m32' LDFLAGS='-L${prefix}/lib'
15 }
16-configure.env-append MPIF77=${prefix}/bin/openmpif77
17+#configure.env-append MPIF77=${prefix}/bin/openmpif77
18+configure.env-append MPIF77=${prefix}/bin/mpif77
19+configure.args-append FFLAGS='-I${prefix}/include/mpich2'
20 
21 pre-fetch {
22        if {"darwin" == ${os.platform} && ${os.major} < 9} {