<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a77616708e14587a8abe90bc30a52420276102e7">https://github.com/macports/macports-ports/commit/a77616708e14587a8abe90bc30a52420276102e7</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 a77616708e1 x86_64-binutils: update to 2.42 and fix
</span>a77616708e1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a77616708e14587a8abe90bc30a52420276102e7
</span>Author: kamischi <karl-michael.schindler@web.de>
AuthorDate: Tue Jul 16 18:16:09 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> x86_64-binutils: update to 2.42 and fix
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also fixes clash of doc files https://trac.macports.org/ticket/70335
</span>---
cross/x86_64-binutils/Portfile | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-binutils/Portfile b/cross/x86_64-binutils/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index daa4a2851b4..568925b943b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/x86_64-binutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/x86_64-binutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,13 +4,13 @@ PortSystem 1.0
</span> PortGroup crossbinutils 1.0
name x86_64-binutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.41
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.42
</span> revision 0
maintainers {@kamischi web.de:karl-michael.schindler} \
openmaintainer
if {$subport eq $name} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # sort of a dummy package. Download sources and install docs only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Download sources and install docs for all subports
</span> crossbinutils.setup x86_64 ${version}
depends_build
depends_lib
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,10 +24,17 @@ if {$subport eq $name} {
</span> foreach ostarget {linux dragonfly freebsd netbsd openbsd} {
subport x86_64-${ostarget}-binutils {
crossbinutils.setup x86_64-${ostarget} ${version}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Depend on base package for installing the docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib port:$name
</span> configure.args-append --disable-werror
if {${ostarget} eq "linux"} {
depends_build-append port:bison
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Delete docs since already installed by the base package
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Resolves clash about identical docs from each subport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/share/doc/x86_64-binutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +45,8 @@ subport x86_64-embedded-binutils {
</span> --disable-werror
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See comment above about deleting docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${prefix}/share/doc/x86_64-binutils
</span> file rename ${destroot}${prefix}/x86_64-unknown-elf/bin \
${destroot}${prefix}/x86_64-embedded
file rename ${destroot}${prefix}/x86_64-unknown-elf/lib \
</pre><pre style='margin:0'>
</pre>