[152392] trunk/dports/_resources/port1.0/group/mpi-1.0.tcl

dstrubbe at macports.org dstrubbe at macports.org
Tue Sep 6 23:38:04 PDT 2016


Revision: 152392
          https://trac.macports.org/changeset/152392
Author:   dstrubbe at macports.org
Date:     2016-09-06 23:38:04 -0700 (Tue, 06 Sep 2016)
Log Message:
-----------
mpi portgroup: Bugfix, dragonegg was not recognized as a Fortran compiler and enforcement of presence of the correct Fortran variant could block use of dragonegg MPI ports.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/mpi-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/mpi-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/mpi-1.0.tcl	2016-09-07 05:53:28 UTC (rev 152391)
+++ trunk/dports/_resources/port1.0/group/mpi-1.0.tcl	2016-09-07 06:38:04 UTC (rev 152392)
@@ -219,6 +219,9 @@
     if {[fortran_variant_isset] && [mpi_variant_isset]} {
         set gcc_name ""
         regexp (gcc\[0-9\]*) ${mpi.name} gcc_name 
+        if {$gcc_name eq ""} {
+            regexp (dragonegg\[0-9\]*) ${mpi.name} gcc_name
+        }
         if {$gcc_name ne ""} {
             if {[active_variants ${mpi.name} "fortran" ""]} {
                 set mpif $gcc_name
@@ -241,7 +244,7 @@
                 if {[fortran_variant_name] eq "gfortran"} {
                     set selectedf " (via +gfortran)"
                 } else {
-                    set selectedf " "
+                    set selectedf ""
                 }
                 ui_error "${mpi.name} has a different Fortran variant ($mpif) than the one selected, $myf$selectedf."
                 set need $myf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160906/cec604fa/attachment.html>


More information about the macports-changes mailing list