Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2021 09:40:26 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: 831ae8547ef2 - main - games/zdoom: fix build on non-x86
Message-ID:  <202110260940.19Q9eQkI008207@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=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}



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