<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/f9a6ec8f794ce9fd33d5a5164b3e8db9e7e7e0a8">https://github.com/macports/macports-ports/commit/f9a6ec8f794ce9fd33d5a5164b3e8db9e7e7e0a8</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 f9a6ec8f794 cargo: remove libssh2 header copy on post-extract
</span>f9a6ec8f794 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f9a6ec8f794ce9fd33d5a5164b3e8db9e7e7e0a8
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Sat Apr 16 09:50:12 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> cargo: remove libssh2 header copy on post-extract
</span>---
devel/cargo/Portfile | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cargo/Portfile b/devel/cargo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9b403d013c1..5b05a304369 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cargo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cargo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,13 +8,15 @@ if {${subport} ne "${name}-bootstrap"} {
</span> PortGroup github 1.0
github.setup rust-lang ${name} 0.61.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 2
</span> } else {
# Should match current Rust version
version 1.60.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> PortGroup cargo 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span> categories devel
supported_archs x86_64 arm64
license {MIT Apache-2}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,20 +60,6 @@ if {${subport} ne "${name}-bootstrap"} {
</span> system -W ${worksrcpath} "${cargo.bin} update"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach {cname cversion chksum} ${cargo.crates} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # the libssh2-sys crate requires the header files from
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # a version of libssh2 that has not been released
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (e.g. channel.c uses the error code LIBSSH2_ERROR_CHANNEL_WINDOW_FULL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # make sure these header files are found properly
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${cname} eq "libssh2-sys"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [glob -tail -directory ${cargo.home}/macports/libssh2-sys-${cversion}/libssh2/include/ *.h] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ../include/${f} ${cargo.home}/macports/libssh2-sys-${cversion}/libssh2/src/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.env-append OPENSSL_DIR=[openssl::install_area]
# Match rust compiler settings
</pre><pre style='margin:0'>
</pre>