<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/bc16280f4a9652525fc0d7e1876c5712a5db0507">https://github.com/macports/macports-base/commit/bc16280f4a9652525fc0d7e1876c5712a5db0507</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 bc16280 Use existing arch_flag_supported proc in universal_setup
</span>bc16280 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bc16280f4a9652525fc0d7e1876c5712a5db0507
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sat Aug 3 18:10:30 2019 +1000
<span style='display:block; white-space:pre;color:#404040;'> Use existing arch_flag_supported proc in universal_setup
</span>---
src/port1.0/portutil.tcl | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portutil.tcl b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index fbfac03..2db0650 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2116,11 +2116,7 @@ proc universal_setup {args} {
</span> ui_debug "OS doesn't support universal builds, so not adding the default universal variant"
} elseif {[llength [option supported_archs]] == 1} {
ui_debug "only one arch supported, so not adding the default universal variant"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [regexp {^macports-gcc-(\d+(?:\.\d+)?)?$} [option configure.compiler] -> gcc_version]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ||
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [regexp {^macports-(mpich|openmpi)-gcc-(\d+(?:\.\d+)?)?$} [option configure.compiler] -> gcc_version]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {![portconfigure::arch_flag_supported [option configure.compiler] yes]} {
</span> ui_debug "Compiler doesn't support universal builds, so not adding the default universal variant"
} else {
ui_debug "adding the default universal variant"
</pre><pre style='margin:0'>
</pre>