--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/science/openmpi/Portfile 2006-11-03 07:31:42.000000000 -0800 +++ Portfile 2006-12-08 07:59:08.000000000 -0800 @@ -3,7 +3,7 @@ PortSystem 1.0 name openmpi -version 1.1.1 +version 1.1.2 categories science parallel net platforms darwin maintainers mww@opendarwin.org @@ -17,8 +17,8 @@ homepage http://www.open-mpi.org/ master_sites http://www.open-mpi.org/software/ompi/v1.1/downloads/ freebsd -checksums md5 498b9322ae0ad512026a008a30c7e0b5 \ - sha1 3bd9eb1fd4af5d4f89df028a6cd6861ed1839b01 +checksums md5 53877ec8bca5f6e505496b6b94b1d850 \ + sha1 5a427c66c432c2d7c5a6f8bd458ca02a39ae3756 use_bzip2 yes pre-extract { file mkdir ${workpath}/build } @@ -45,3 +45,12 @@ configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 } +variant fortran { + configure.args-delete --disable-f77 --disable-f90 + configure.args-append --enable-f77 --enable-f90 + configure.env-append F77=gfortran-dp-4.2 FC=gfortran-dp-4.2 + # We need gfortran. Gcc41 doesn't seem to compile on Intel Mac, so we'll take + # gcc42. Too bad that the actual gfortran binary in gcc42 is called + # gfortran-dp-4.2, otherwise we could just say bin:gfortran:gcc42. + depends_build port:gcc42 +}