<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/770ac7b5057936a6631dcf952e8602fd7eb713d0">https://github.com/macports/macports-ports/commit/770ac7b5057936a6631dcf952e8602fd7eb713d0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 770ac7b5057936a6631dcf952e8602fd7eb713d0
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Dec 1 13:31:53 2020 +0000
<span style='display:block; white-space:pre;color:#404040;'> compilers PG: Add method to access port required for active fortran variant
</span>---
_resources/port1.0/group/compilers-1.0.tcl | 10 ++++++++++
1 file changed, 10 insertions(+)
<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 30a64f1aaf9..b6059785bc3 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;'>@@ -374,6 +374,16 @@ proc fortran_variant_name {} {
</span> return ""
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+proc fortran_variant_depends_port_name {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global cdb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_name [fortran_variant_name]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_name} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return $cdb(${var_name},depends)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> proc clang_variant_name {} {
global compilers.clang_variants variations
</pre><pre style='margin:0'>
</pre>