git: c4639310fb54 - main - graphics/materialx: fix build on non-x86
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Dec 2025 14:55:07 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c4639310fb54038d40bfdd8ab786aeb538e157f4
commit c4639310fb54038d40bfdd8ab786aeb538e157f4
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-12-30 12:17:07 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-12-30 14:54:56 +0000
graphics/materialx: fix build on non-x86
cc: error: unsupported option '-march=' for target 'powerpc64le-unknown-freebsd15.0'
---
graphics/materialx/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/graphics/materialx/Makefile b/graphics/materialx/Makefile
index 823c389afc4a..7ed34389cee2 100644
--- a/graphics/materialx/Makefile
+++ b/graphics/materialx/Makefile
@@ -1,6 +1,7 @@
PORTNAME= materialx
DISTVERSIONPREFIX= v
DISTVERSION= 1.39.4
+PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= freebsd@sysctl.cz
@@ -33,7 +34,8 @@ USE_GL= opengl
USE_LDCONFIG= yes
USE_XORG= ice sm x11 xt
-CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${STAGEDIR}${PREFIX}
+CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX=${STAGEDIR}${PREFIX} \
+ -DNANOGUI_NATIVE_FLAGS=""
CMAKE_ON= MATERIALX_BUILD_GRAPH_EDITOR MATERIALX_BUILD_OIIO \
MATERIALX_BUILD_PYTHON MATERIALX_BUILD_SHARED_LIBS \
MATERIALX_BUILD_TESTS MATERIALX_BUILD_VIEWER \