<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/adbd5c5c0065f79570a090f9ae886674e0733330">https://github.com/macports/macports-ports/commit/adbd5c5c0065f79570a090f9ae886674e0733330</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 adbd5c5c006 libvpx: fix building dylibs on PPC
</span>adbd5c5c006 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit adbd5c5c0065f79570a090f9ae886674e0733330
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Feb 26 17:44:08 2023 -0800
<span style='display:block; white-space:pre;color:#404040;'> libvpx: fix building dylibs on PPC
</span>---
multimedia/libvpx/Portfile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libvpx/Portfile b/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index aa5bd7b6cb3..78eb5fe25eb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ name libvpx
</span> conflicts libvpx-devel
set my_name libvpx
version 1.12.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
categories multimedia
license Permissive
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,8 +67,8 @@ platform darwin {
</span> if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} {
# disable a wrong kind of abi
patchfiles-append patch-vpx_ports.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # with shared enabled the build fails
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --disable-shared
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # with shared enabled the build no longer fails
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-shared
</span> } else {
configure.args-append --enable-shared
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -107,7 +107,7 @@ if {${universal_possible} && [variant_isset universal]} {
</span>
set merger_host(${my_arch}) ""
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set merger_configure_args(${my_arch}) --force-target=generic-gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(${my_arch}) --force-target=generic-${os.platform}${os.major}-gcc
</span>
set merger_configure_env(${my_arch}) LD=${configure.cc}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -134,7 +134,7 @@ if {${universal_possible} && [variant_isset universal]} {
</span>
# force the target: generic fix for PowerPC
if {${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --force-target=generic-gnu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --force-target=generic-${os.platform}${os.major}-gcc
</span> } else {
configure.args-append --force-target=${configure.build_arch}-${os.platform}${os.major}-gcc
}
</pre><pre style='margin:0'>
</pre>