<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3e2c1b47e8b13762b7269ed1291f14563f0a6679">https://github.com/macports/macports-ports/commit/3e2c1b47e8b13762b7269ed1291f14563f0a6679</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 3e2c1b47e8b x86_64-binutils: new port
</span>3e2c1b47e8b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3e2c1b47e8b13762b7269ed1291f14563f0a6679
</span>Author: kamischi <karl-michael.schindler@web.de>
AuthorDate: Sun Feb 18 13:10:19 2024 +0100
<span style='display:block; white-space:pre;color:#404040;'> x86_64-binutils: new port
</span>---
cross/x86_64-binutils/Portfile | 47 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-binutils/Portfile b/cross/x86_64-binutils/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..daa4a2851b4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</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;'>@@ -0,0 +1,47 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup crossbinutils 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name x86_64-binutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.41
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@kamischi web.de:karl-michael.schindler} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$subport eq $name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # sort of a dummy package. Download sources and install docs only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ crossbinutils.setup x86_64 ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach ostarget {linux dragonfly freebsd netbsd openbsd} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport x86_64-${ostarget}-binutils {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ crossbinutils.setup x86_64-${ostarget} ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-werror
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${ostarget} eq "linux"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:bison
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport x86_64-embedded-binutils {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ crossbinutils.setup x86_64-embedded ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --target=x86_64-unknown-elf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-werror
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${prefix}/x86_64-unknown-elf/bin \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/x86_64-embedded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file rename ${destroot}${prefix}/x86_64-unknown-elf/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/x86_64-embedded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}${prefix}/x86_64-unknown-elf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>