Revision
117253
Author
macsforever2000@macports.org
Date
2014-02-20 10:50:55 -0800 (Thu, 20 Feb 2014)

Log Message

py-obspy: Fix for no gcc variant selected. (#42576)

Modified Paths

Diff

Modified: trunk/dports/python/py-obspy/Portfile (117252 => 117253)


--- trunk/dports/python/py-obspy/Portfile	2014-02-20 18:38:19 UTC (rev 117252)
+++ trunk/dports/python/py-obspy/Portfile	2014-02-20 18:50:55 UTC (rev 117253)
@@ -102,6 +102,11 @@
             configure.fc  ${prefix}/bin/gfortran-mp-${ver}
             configure.f77 ${prefix}/bin/gfortran-mp-${ver}
             configure.f90 ${prefix}/bin/gfortran-mp-${ver}
+
+            # `setup.py install` tests for Fortran compiler
+            destroot.env-append FC=${configure.fc}
+            destroot.env-append F77=${configure.f77}
+            destroot.env-append F90=${configure.f90}
         }
     }