devel/godot: fix build on powerpc64*

Disable modules using x86 intrinsics.
This commit is contained in:
Piotr Kubaj 2022-02-03 13:39:42 +00:00
parent 6b33040ff8
commit bcbbfc1c1b

View file

@ -84,6 +84,14 @@ PLIST_FILES= bin/${GODOTFILE}
.MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE=
.endif
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc*}
MAKE_ARGS+= module_embree_enabled=no \
module_raycast_enabled=no \
module_webm_enabled=no
.endif
post-patch:
@${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \
${WRKSRC}/methods.py