Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2022 13:45:54 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bcbbfc1c1bcf - main - devel/godot: fix build on powerpc64*
Message-ID:  <202202031345.213Djso8068515@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202031345.213Djso8068515>