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

sean at macports.org sean at macports.org
Fri Jul 11 22:25:10 PDT 2014


Revision: 121953
          https://trac.macports.org/changeset/121953
Author:   sean at macports.org
Date:     2014-07-11 22:25:10 -0700 (Fri, 11 Jul 2014)
Log Message:
-----------
mpi-1.0: change 'name' variable so we don't overwrite it

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	2014-07-12 05:25:04 UTC (rev 121952)
+++ trunk/dports/_resources/port1.0/group/mpi-1.0.tcl	2014-07-12 05:25:10 UTC (rev 121953)
@@ -71,8 +71,8 @@
 set mpidb(openmpi_devel,name)     openmpi-devel
 set mpidb(openmpi_devel,conflict) universal
 
-foreach name [array names mpidb *,variant] {
-    lappend mpi.variants $mpidb($name)
+foreach mpiname [array names mpidb *,variant] {
+    lappend mpi.variants $mpidb($mpiname)
 }
 
 proc mpi.setup_variants {args} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140711/ca326bc8/attachment.html>


More information about the macports-changes mailing list