Changeset 122253


Ignore:
Timestamp:
Jul 18, 2014, 9:25:15 PM (6 years ago)
Author:
eborisch@…
Message:

mpich: Fix broken logic for detecting non -devel version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/mpich/Portfile

    r121984 r122253  
    88name                mpich
    99version             3.1.1
     10revision            1
    1011
    1112license             BSD
     
    203204        }
    204205
    205         if {![string first "-devel" $subport] > 0} {
     206        if {[string first "-devel" $subport] == -1} {
    206207            # 3.1.1 doesn't seem to provide mpif77 nor mpif90 wrappers anymore
    207208            ln -s ${prefix}/bin/mpifort-${name}-${cname} ${destroot}${prefix}/bin/mpif77-${name}-${cname}
Note: See TracChangeset for help on using the changeset viewer.