Ignore:
Timestamp:
Nov 13, 2015, 1:02:51 AM (3 years ago)
Author:
dstrubbe@…
Message:

mpi portgroup: Bugfix for enforcing Fortran variant, which strangely only gave an error if +g95 was set, and did not interpret +gfortran properly. Now the new [fortran_compiler_name] is used to handle this issue, and consider all cases not just +g95.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/mpi-1.0.tcl

    r142448 r142493  
    214214        set myf  [fortran_variant_name]
    215215
    216         if {$myf eq "g95" && $myf ne $mpif} {
     216        if {[fortran_compiler_name $myf] ne [fortran_compiler_name $mpif]} {
    217217            ui_error "${mpi.name} has a different fortran variant ($mpif) than the selected $myf"
    218218            return -code error "${mpi.name} needs the $myf variant"
Note: See TracChangeset for help on using the changeset viewer.