[142493] trunk/dports/_resources/port1.0/group/mpi-1.0.tcl
dstrubbe at macports.org
dstrubbe at macports.org
Sat Dec 12 05:59:30 PST 2015
Revision: 142493
https://trac.macports.org/changeset/142493
Author: dstrubbe at macports.org
Date: 2015-11-12 17:02:51 -0800 (Thu, 12 Nov 2015)
Log 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.
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-11-13 00:59:52 UTC (rev 142492)
+++ trunk/dports/_resources/port1.0/group/mpi-1.0.tcl 2015-11-13 01:02:51 UTC (rev 142493)
@@ -213,7 +213,7 @@
set mpif [fortran_active_variant_name ${mpi.name}]
set myf [fortran_variant_name]
- if {$myf eq "g95" && $myf ne $mpif} {
+ if {[fortran_compiler_name $myf] ne [fortran_compiler_name $mpif]} {
ui_error "${mpi.name} has a different fortran variant ($mpif) than the selected $myf"
return -code error "${mpi.name} needs the $myf variant"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/4404d7cb/attachment.html>
More information about the macports-changes
mailing list