git: 17257d707a58 - main - graphics/mesa-dri: Always disable intel-rt on !amd64

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Fri, 23 Aug 2024 14:04:42 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17257d707a58595d2a5c3cc95cdf2966f397b8f1

commit 17257d707a58595d2a5c3cc95cdf2966f397b8f1
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-08-23 14:02:30 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-08-23 14:04:41 +0000

    graphics/mesa-dri: Always disable intel-rt on !amd64
    
    Since anv is only included for x86(-64) the MESON_ON isn't added to MESON_ARGS.
    So explicitely disable intel-rt on !amd64 since it doesn't work.
    
    Reported by:    eduardo@freebsd.org
    Spoonsored by:  Beckhoff Automation GmbH & Co. KG
---
 graphics/mesa-dri/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile
index 20f3b32d5fe5..1202d3f4ee5c 100644
--- a/graphics/mesa-dri/Makefile
+++ b/graphics/mesa-dri/Makefile
@@ -114,6 +114,10 @@ MESON_ARGS+=	-Dandroid-libbacktrace=disabled \
 		-Dosmesa=false \
 		-Dvalgrind=disabled
 
+.if ${ARCH} != amd64
+MESON_ARGS+=	-Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
+.endif
+
 .for _gd in ${OPTIONS_GROUP_GALLIUM}
 . if defined(GALLIUM_DRIVERS) && ${GALLIUM_DRIVERS:M${_gd}}
 PLIST_SUB+=	${_gd}=""