[122253] trunk/dports/science/mpich/Portfile

eborisch at macports.org eborisch at macports.org
Fri Jul 18 14:25:15 PDT 2014


Revision: 122253
          https://trac.macports.org/changeset/122253
Author:   eborisch at macports.org
Date:     2014-07-18 14:25:15 -0700 (Fri, 18 Jul 2014)
Log Message:
-----------
mpich:

Modified Paths:
--------------
    trunk/dports/science/mpich/Portfile

Modified: trunk/dports/science/mpich/Portfile
===================================================================
--- trunk/dports/science/mpich/Portfile	2014-07-18 21:03:30 UTC (rev 122252)
+++ trunk/dports/science/mpich/Portfile	2014-07-18 21:25:15 UTC (rev 122253)
@@ -7,6 +7,7 @@
 
 name                mpich
 version             3.1.1
+revision            1
 
 license             BSD
 categories          science parallel net
@@ -202,7 +203,7 @@
                 mpi$bin-${name}-${cname}
         }
 
-        if {![string first "-devel" $subport] > 0} {
+        if {[string first "-devel" $subport] == -1} {
             # 3.1.1 doesn't seem to provide mpif77 nor mpif90 wrappers anymore
             ln -s ${prefix}/bin/mpifort-${name}-${cname} ${destroot}${prefix}/bin/mpif77-${name}-${cname}
             ln -s ${prefix}/bin/mpifort-${name}-${cname} ${destroot}${prefix}/bin/mpif90-${name}-${cname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140718/392498a3/attachment-0001.html>


More information about the macports-changes mailing list