[21603] trunk/dports/science/openmpi/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jan 29 21:27:04 PST 2007
Revision: 21603
http://trac.macosforge.org/projects/macports/changeset/21603
Author: markd at macports.org
Date: 2007-01-29 21:27:03 -0800 (Mon, 29 Jan 2007)
Log Message:
-----------
Closes #11160. Add fortran variant.
Modified Paths:
--------------
trunk/dports/science/openmpi/Portfile
Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile 2007-01-30 04:59:41 UTC (rev 21602)
+++ trunk/dports/science/openmpi/Portfile 2007-01-30 05:27:03 UTC (rev 21603)
@@ -46,3 +46,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
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070129/2f41dfd8/attachment.html
More information about the macports-changes
mailing list