[Bug 241762] devel/godot: fix build on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 8 04:26:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241762

Shane <FreeBSD at ShaneWare.Biz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #208918|maintainer-approval?(FreeBS |maintainer-approval-
              Flags|D at ShaneWare.Biz)            |

--- Comment #2 from Shane <FreeBSD at ShaneWare.Biz> ---
Comment on attachment 208918
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208918
patch

The issue I see is that this will apply to every platform. The godot internal
libvpx contains significant modifications that I would expect issues from the
system lib. See https://github.com/godotengine/godot/commit/1556d0d377ec

A quick option to try is to use a conditional such as -

.if ${ARCH} == powerpc64
LIB_DEPENDS+= libvpx.so:multimedia/libvpx
MAKE_ARGS+= builtin_libvpx=False
.endif

A better solution that could be pushed upstream is to adjust
modules/webm/libvpx/SCsub and/or thirdparty/libvpx/* to list and include the
correct files and flags for PPC. This change should also contain the patches
from the libvpx port for PPC. Similar changes can also be done to fix the arm
build.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list