<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a9e1c26f4967b89ba6d0e546d2507ccc91adc295">https://github.com/macports/macports-ports/commit/a9e1c26f4967b89ba6d0e546d2507ccc91adc295</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 a9e1c26f496 rust: enable jemalloc only on macOS 10.11 and higher
</span>a9e1c26f496 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit a9e1c26f4967b89ba6d0e546d2507ccc91adc295
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Sat Apr 9 08:59:23 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    rust: enable jemalloc only on macOS 10.11 and higher
</span>---
 lang/rust/Portfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

<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 4f159ad31f1..fd9ae534714 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;'>@@ -323,7 +323,6 @@ configure.args    --default-linker=${ld} \
</span>                   --release-channel=stable \
                   --build=${rust_platform} \
                   --local-rust-root=${rust_root} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                  --set=rust.jemalloc \
</span>                   --set=target.${rust_platform}.cc=${configure.cc} \
                   --set=target.${rust_platform}.cxx=${configure.cxx} \
                   --set=target.${rust_platform}.linker=${ld} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -334,6 +333,11 @@ configure.args    --default-linker=${ld} \
</span>                   --llvm-ldflags="${configure.ldflags}" \
                   --python=${prefix}/bin/python${py_ver}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Build with jemalloc on macOS 10.11 and up
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.platform} eq "darwin" && ${os.major} > 14 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append --set=rust.jemalloc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Cache support
 if { ${subport} ne ${ccwrap} } {
     if { [tbool configure.ccache] } {
</pre><pre style='margin:0'>

</pre>