Skip to content

Commit

Permalink
evas: fix building on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed May 21, 2024
1 parent 074f670 commit 8b2ddc4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions devel/evas/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ configure.args --disable-doc \
--disable-valgrind \
--enable-buffer

platform darwin powerpc {
# Cocoa backend fails to build on powerpc.
configure.args-append \
--disable-gl-cocoa \
--enable-cpu-altivec

configure.ldflags-delete \
{-framework OpenGL}

if {[catch {sysctl hw.vectorunit} result] || $result == 0} {
configure.args-replace \
--enable-cpu-altivec --disable-cpu-altivec
archive_sites
}
}

# http://trac.enlightenment.org/e/ticket/942
if {[lsearch [get_canonical_archs] i386] != -1} {
compiler.blacklist-append \
Expand Down

0 comments on commit 8b2ddc4

Please sign in to comment.