<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8d7c8273d406f18d7a2837852564bf7cbe253841">https://github.com/macports/macports-ports/commit/8d7c8273d406f18d7a2837852564bf7cbe253841</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 8d7c8273d40 rav1e: set target when calling cargo-c
</span>8d7c8273d40 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8d7c8273d406f18d7a2837852564bf7cbe253841
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Jan 2 16:02:08 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> rav1e: set target when calling cargo-c
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.macports.org/ticket/66591#comment:19
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since port either builds correctly or not at all
</span>---
multimedia/rav1e/Portfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/rav1e/Portfile b/multimedia/rav1e/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5b77a52ca8f..36a72288a72 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/rav1e/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/rav1e/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,11 +28,12 @@ if {${configure.build_arch} in {i386 x86_64}} {
</span> cargo.update yes
post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "env CC=[compwrap::wrap_compiler cc] ${cargo.bin} cbuild ${build.pre_args} --prefix ${prefix} --destdir ${destroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cargo-c does not seem to repsect CARGO_BUILD_TARGET
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "env CC=[compwrap::wrap_compiler cc] ${cargo.bin} cbuild ${build.pre_args} --prefix ${prefix} --destdir ${destroot} --target [option triplet.${muniversal.build_arch}]"
</span> }
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "${cargo.bin} cinstall ${build.pre_args} --prefix ${prefix} --destdir ${destroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${cargo.bin} cinstall ${build.pre_args} --prefix ${prefix} --destdir ${destroot} --target [option triplet.${muniversal.build_arch}]"
</span> xinstall -m 0755 \
${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
${destroot}${prefix}/bin/
</pre><pre style='margin:0'>
</pre>