git: bcbbfc1c1bcf - main - devel/godot: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Feb 2022 13:45:54 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=bcbbfc1c1bcf7c548913f185bb11f21426981231 commit bcbbfc1c1bcf7c548913f185bb11f21426981231 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-02-03 13:39:42 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-02-03 13:39:42 +0000 devel/godot: fix build on powerpc64* Disable modules using x86 intrinsics. --- devel/godot/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devel/godot/Makefile b/devel/godot/Makefile index e6d86c10221a..dcaaab5ded04 100644 --- a/devel/godot/Makefile +++ b/devel/godot/Makefile @@ -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