[117253] trunk/dports/python/py-obspy/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Thu Feb 20 10:50:55 PST 2014


Revision: 117253
          https://trac.macports.org/changeset/117253
Author:   macsforever2000 at 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:
--------------
    trunk/dports/python/py-obspy/Portfile

Modified: trunk/dports/python/py-obspy/Portfile
===================================================================
--- 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}
         }
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140220/b3eb6ca8/attachment.html>


More information about the macports-changes mailing list