<pre style='margin:0'>
David Strubbe (dstrubbe) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fb5a290999bee5c60c13b84bb465b3297fbe8c06">https://github.com/macports/macports-ports/commit/fb5a290999bee5c60c13b84bb465b3297fbe8c06</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new fb5a290  compilers portgroup: Always request installation with specific variant rather than +gfortran. Add period in comment.
</span>fb5a290 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit fb5a290999bee5c60c13b84bb465b3297fbe8c06
</span>Author: David Strubbe <dstrubbe@macports.org>
AuthorDate: Wed Jan 24 12:25:15 2018 -0800

<span style='display:block; white-space:pre;color:#404040;'>    compilers portgroup: Always request installation with specific variant rather than +gfortran. Add period in comment.
</span>---
 _resources/port1.0/group/compilers-1.0.tcl | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/compilers-1.0.tcl b/_resources/port1.0/group/compilers-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 5c32e48..0ee293e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/compilers-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/compilers-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,7 +76,7 @@
</span> #
 # The compilers.gcc_default variable may be useful for setting a default compiler variant
 # even in ports that do not use this PortGroup's automatic creation of variants.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# compilers.libfortran is for use in linking Fortran code with the C or C++ compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# compilers.libfortran is for use in linking Fortran code with the C or C++ compiler.
</span> 
 PortGroup active_variants 1.1
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -574,13 +574,14 @@ proc compilers.action_enforce_f {args} {
</span>         if {![catch {set result [active_variants $portname "" ""]}]} {
             set otf  [fortran_active_variant_name $portname]
             set myf  [fortran_variant_name]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+            set myf_compiler [fortran_compiler_name $myf]
</span> 
             if {$otf ne "" && $myf eq ""} {
                 default_variants +$otf
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            } elseif {[fortran_compiler_name $otf] ne [fortran_compiler_name $myf]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            } elseif {[fortran_compiler_name $otf] ne $myf_compiler} {
</span>                 # what if $portname does not have that variant? e.g. maybe it has only gcc5 and we are asking for gfortran.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                ui_error "Install $portname +$myf"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                return -code error "$portname +$myf not installed"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                ui_error "Install $portname +$myf_compiler"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                return -code error "$portname +$myf_compiler not installed"
</span>             }
         } else {
             ui_error "Internal error: compilers.enforce_fortran: '$portname' is not an installed port."
</pre><pre style='margin:0'>

</pre>