<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/faa70a86d2fa7b7b0c53a61b827061c5f6ea0270">https://github.com/macports/macports-ports/commit/faa70a86d2fa7b7b0c53a61b827061c5f6ea0270</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 faa70a86d2f XviD: Fix universal build that includes arm64
</span>faa70a86d2f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit faa70a86d2fa7b7b0c53a61b827061c5f6ea0270
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jun 28 02:38:53 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> XviD: Fix universal build that includes arm64
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63146
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also presumably fix ppc/i386 universal build by ensuring that
</span><span style='display:block; white-space:pre;color:#404040;'> --disable-assembly is specified for the Intel parts and not the PowerPC
</span><span style='display:block; white-space:pre;color:#404040;'> parts regardless whether the build machine is Intel or PowerPC.
</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/32802
</span>---
multimedia/XviD/Portfile | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/XviD/Portfile b/multimedia/XviD/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 232d0f918c8..e6a507a51f0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/XviD/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/XviD/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,30 +41,32 @@ use_autoreconf yes
</span>
configure.universal_args-delete --disable-dependency-tracking
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set my_targets(arm64) aarch64
</span> set my_targets(ppc) powerpc
set my_targets(ppc64) powerpc
set my_targets(i386) i386
set my_targets(x86_64) x86_64
platform darwin {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(${arch}) --build=$my_targets(${arch})-apple-darwin${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch [list i386 x86_64] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # TODO: Investigate whether this is actually needed for x86_64.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The original bug report was for i386 only.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See https://trac.macports.org/ticket/32802
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend merger_configure_args(${arch}) --disable-assembly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> if {![info exists universal_possible]} {
set universal_possible [expr {${os.universal_supported} && [llength ${configure.universal_archs}] >= 2}]
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${universal_possible} && [variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set merger_configure_args(${arch}) --build=$my_targets(${arch})-apple-darwin${os.major}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[info exists my_targets(${configure.build_arch})]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --build=$my_targets(${configure.build_arch})-apple-darwin${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {!(${universal_possible} && [variant_isset universal])} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[info exists merger_configure_args(${configure.build_arch})]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append $merger_configure_args(${configure.build_arch})
</span> }
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin i386 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --disable-assembly
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.args V=1
destroot.args V=1
</pre><pre style='margin:0'>
</pre>