diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-26 09:37:43 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-26 09:37:43 +0000 |
commit | 831ae8547ef299f8117a81d2bd5c3c35966fff14 (patch) | |
tree | a663614e3f278c2650fb5fca98668267aacb57e4 | |
parent | 14f010cce83d1ab012d1fbb1c77b1f22d434a062 (diff) | |
download | ports-831ae8547ef299f8117a81d2bd5c3c35966fff14.tar.gz ports-831ae8547ef299f8117a81d2bd5c3c35966fff14.zip |
games/zdoom: fix build on non-x86
Included assembly is only for i386 and amd64.
-rw-r--r-- | games/zdoom/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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} |