git: b70ef99d63bf - main - graphics/blender-lts28: fix build on non-x86
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jun 10 08:58:06 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b70ef99d63bf2b11d93661f7dd993ac074613ec9
commit b70ef99d63bf2b11d93661f7dd993ac074613ec9
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-10 08:57:32 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-10 08:57:32 +0000
graphics/blender-lts28: fix build on non-x86
SSE is only available on amd64 and i386.
---
graphics/blender-lts28/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/graphics/blender-lts28/Makefile b/graphics/blender-lts28/Makefile
index 59707d181a42..ff05175dcb1b 100644
--- a/graphics/blender-lts28/Makefile
+++ b/graphics/blender-lts28/Makefile
@@ -160,6 +160,10 @@ CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON
.include <bsd.port.options.mk>
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF
+.endif
+
.if ${LLVM_DEFAULT:M[678]0}
LLVM_VER= 90
.else
More information about the dev-commits-ports-all
mailing list