<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/07da3384da8bde4e37241d6cec65b015a9a58fab">https://github.com/macports/macports-ports/commit/07da3384da8bde4e37241d6cec65b015a9a58fab</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 07da3384da8 rust: revert change to legacy-support flags until buildbot issues resolved
</span>07da3384da8 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 07da3384da8bde4e37241d6cec65b015a9a58fab
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sun May 9 12:29:44 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    rust: revert change to legacy-support flags until buildbot issues resolved
</span>---
 lang/rust/Portfile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/rust/Portfile b/lang/rust/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 127cc13b3e2..1297fff7e85 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/rust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/rust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -190,12 +190,18 @@ proc envs_append { value } {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Remove sub-port revision bumps on next update
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${version} ne "1.52.0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    return -code error "Remove subport revision bumps"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # In order to enforce use of legacy support, both when building rust and subsequently
 # when using it, the underlying compiler commands need to be wrapped to make sure
 # they use the correct flags. Do this in a sub-port which then is added as a dep
 # to rust to ensure they are available when rust is both built and installed.
 set wrapdir ${prefix}/libexec/${ccwrap}/bin
 subport ${ccwrap} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    revision [expr ${revision} +1]
</span>     # Enable support in scripts for all neccessary versions
     legacysupport.newest_darwin_requires_legacy ${max_wrap_darwin}
     description      Wrapped compiler commands for ${name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -248,11 +254,11 @@ subport ${ccwrap} {
</span>                 close ${f}
             }
             create_wrapper ${destroot}${wrapdir}/clang   \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                "${sel_cc}" "[option legacysupport.header_search]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                "${sel_cc}" "\$\{MACPORTS_LEGACY_SUPPORT_CPPFLAGS\}"
</span>             create_wrapper ${destroot}${wrapdir}/clang++ \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                "${sel_cxx}" "[option legacysupport.header_search]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                "${sel_cxx}" "\$\{MACPORTS_LEGACY_SUPPORT_CPPFLAGS\}"
</span>             create_wrapper ${destroot}${wrapdir}/clang-ld \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                "${sel_cc}" "[option legacysupport.header_search] [legacysupport::get_library_link_flags]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                "${sel_cc}" "\$\{MACPORTS_LEGACY_SUPPORT_CPPFLAGS\} \$\{MACPORTS_LEGACY_SUPPORT_LDFLAGS\}"
</span>             foreach cmd { ar as nm nm-classic libtool lipo objdump otool ranlib \
                           size size-classic strip strings bitcode-strip segedit } {
                 ln -s ${prefix}/bin/${cmd} ${destroot}${wrapdir}/${cmd}
</pre><pre style='margin:0'>

</pre>