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

dstrubbe at macports.org dstrubbe at macports.org
Thu Jun 4 14:21:33 PDT 2015


Revision: 137095
          https://trac.macports.org/changeset/137095
Author:   dstrubbe at macports.org
Date:     2015-06-04 14:21:33 -0700 (Thu, 04 Jun 2015)
Log Message:
-----------
mpi portgroup: Bugfix -- there could be an attempt to set configure variables to non-existent mpicpp and mpiobjc. Ports trying to use configure.cpp (such as octopus) with MPI would find it had an illegal value and fail to build.

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	2015-06-04 20:41:27 UTC (rev 137094)
+++ trunk/dports/_resources/port1.0/group/mpi-1.0.tcl	2015-06-04 21:21:33 UTC (rev 137095)
@@ -117,8 +117,10 @@
                     }
                     set mpi.fc mpif90-$mpidb($variant,name)-\$p_name
 
+                    # there is no mpicpp or mpiobj
+                    # if more compilers are added in compilers portgroup, need to be added here
                     foreach compiler \${compilers.list} {
-                        if {\$compiler ne "fc"} {
+                        if {\$compiler ne "fc" && \$compiler ne "cpp" && \$compiler ne "objc"} {
                             configure.\$compiler \${prefix}/bin/mpi\${compiler}-$mpidb($variant,name)-\$p_name
                         }
                     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150604/ec05c8d3/attachment.html>


More information about the macports-changes mailing list