<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/96a5d5ab23f909caa8329cce41f6c8046ef717be">https://github.com/macports/macports-ports/commit/96a5d5ab23f909caa8329cce41f6c8046ef717be</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 96a5d5ab23f909caa8329cce41f6c8046ef717be
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Tue Apr 3 23:22:26 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> cargo group: Use $HOME/.cargo as CARGO_HOME
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use the default location for CARGO_HOME to avoid the need to set it
</span><span style='display:block; white-space:pre;color:#404040;'> explicitly.
</span>---
_resources/port1.0/group/cargo-1.0.tcl | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/cargo-1.0.tcl b/_resources/port1.0/group/cargo-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 713a33d..b919fbe 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/cargo-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/cargo-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +50,7 @@
</span>
options cargo.crates cargo.home
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default cargo.home {${workpath}/cargo_home}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default cargo.home {${workpath}/.home/.cargo}
</span>
option_proc cargo.crates handle_cargo_crates
proc handle_cargo_crates {option action {value ""}} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -119,8 +119,7 @@ build.cmd cargo build
</span> build.target
build.pre_args --release --frozen -v -j${build.jobs}
build.args
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env CARGO_HOME=${cargo.home} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- RUSTFLAGS="-C linker=${configure.cc}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env RUSTFLAGS="-C linker=${configure.cc}"
</span>
destroot {
ui_error "No destroot phase in the Portfile!"
</pre><pre style='margin:0'>
</pre>