<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d79bf9ca7ac09eaa5390e81951aa23dbf2623515">https://github.com/macports/macports-ports/commit/d79bf9ca7ac09eaa5390e81951aa23dbf2623515</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d79bf9ca7ac09eaa5390e81951aa23dbf2623515
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue May 21 12:09:12 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> evas: fix building on powerpc
</span>---
devel/evas/Portfile | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/evas/Portfile b/devel/evas/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3d22ecee9a3..199071ab828 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/evas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/evas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,6 +47,22 @@ configure.args --disable-doc \
</span> --disable-valgrind \
--enable-buffer
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Cocoa backend fails to build on powerpc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-gl-cocoa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-cpu-altivec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-framework OpenGL}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[catch {sysctl hw.vectorunit} result] || $result == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-cpu-altivec --disable-cpu-altivec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archive_sites
</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> # http://trac.enlightenment.org/e/ticket/942
if {[lsearch [get_canonical_archs] i386] != -1} {
compiler.blacklist-append \
</pre><pre style='margin:0'>
</pre>