[60436] trunk/dports/science/netcdf/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Nov 12 05:54:13 PST 2009
Revision: 60436
http://trac.macports.org/changeset/60436
Author: takeshi at macports.org
Date: 2009-11-12 05:54:12 -0800 (Thu, 12 Nov 2009)
Log Message:
-----------
netcdf: added mpich2 variant
Modified Paths:
--------------
trunk/dports/science/netcdf/Portfile
Modified: trunk/dports/science/netcdf/Portfile
===================================================================
--- trunk/dports/science/netcdf/Portfile 2009-11-12 06:54:14 UTC (rev 60435)
+++ trunk/dports/science/netcdf/Portfile 2009-11-12 13:54:12 UTC (rev 60436)
@@ -53,8 +53,7 @@
depends_lib-append port:gcc43
configure.args-delete --disable-fortran-compiler-check --disable-f77 --disable-f90
configure.cppflags-append -DpgiFortran
- configure.fc ${prefix}/bin/gfortran-mp-4.3
- configure.f77 ${configure.fc}
+ configure.compiler macports-gcc-4.3
}
variant g95 description conflicts gcc43 description {Enable Fortran support with g95} {
@@ -66,13 +65,20 @@
configure.f77 ${configure.fc}
}
-variant openmpi description {compile with openmpi} {
+variant openmpi conflicts mpich2 description {compile with openmpi} {
depends_lib-append port:openmpi
configure.fc openmpif77
configure.cc openmpicc
configure.cxx openmpicxx
}
+variant mpich2 conflicts openmpi description {compile with mpich2} {
+ depends_lib-append port:mpich2
+ configure.fc mpif90
+ configure.cc mpicc
+ configure.cxx mpicxx
+}
+
variant dap description {enable dap} {
depends_lib-append port:curl
configure.args-append --enable-dap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091112/76cff56d/attachment.html>
More information about the macports-changes
mailing list