git: 831ae8547ef2 - main - games/zdoom: fix build on non-x86
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Oct 2021 09:40:26 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=831ae8547ef299f8117a81d2bd5c3c35966fff14 commit 831ae8547ef299f8117a81d2bd5c3c35966fff14 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-26 09:37:43 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-26 09:37:43 +0000 games/zdoom: fix build on non-x86 Included assembly is only for i386 and amd64. --- games/zdoom/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/games/zdoom/Makefile b/games/zdoom/Makefile index 5a38b9a701c6..3010f880dca0 100644 --- a/games/zdoom/Makefile +++ b/games/zdoom/Makefile @@ -46,6 +46,11 @@ FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUIDSYNTH_CMAKE_BOOL= WITH_FLUIDSYNTH .include "${.CURDIR}/../doom-data/Makefile.include" +.include <bsd.port.options.mk> + +.if ${ARCH} != amd64 && ${ARCH} != i386 +CMAKE_ARGS+= -DNO_ASM:BOOL=ON +.endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR}