graphics/mesa-dri build fail with intel-rt activated on aarch64

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Fri, 23 Aug 2024 07:10:10 UTC
Hello,

Could anyone try to build graphics/mesa-dri so I can check why is it
failing on configure?

Acording to
e313acaea33b - main - graphics/mesa: Unbreak on !amd64 commit it should
disable intel-rt on !amd64:

+ anv_MESON_ON=  ${"${ARCH:Mamd64}":?:-Dintel-rt=disabled} #
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629

But I only could build it if I add '-Dintel-rt=disabled' to MESON_ARGS
directly.

Maybe something is not parsed correcly and it isn't geting disabled on
aarch64 (rpi4).

I'm suspecting that an if condition will be needed like applied to other
mesa ports:

+.if ${ARCH} != amd64
+MESON_ARGS+=   -Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/
mesa/-/issues/10629
+.endif

Thanks,

-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org