git: 8799860c8467 - main - graphics/mesa-devel: unbreak radv=OFF VKLAYERS=off after f36f3675dc48

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 01 Jul 2024 14:27:12 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8799860c84676240e2f2875025d2e4f7fcb5d5c9

commit 8799860c84676240e2f2875025d2e4f7fcb5d5c9
Author:     Emmanuel Vadot <manu@freebsd.org>
AuthorDate: 2024-07-01 12:53:41 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-01 14:26:04 +0000

    graphics/mesa-devel: unbreak radv=OFF VKLAYERS=off after f36f3675dc48
    
    meson.build:626:15: ERROR: Program 'glslangValidator' not found or not executable
    
    https://gitlab.freedesktop.org/mesa/mesa/-/commit/41a929d94ca5
    https://gitlab.freedesktop.org/mesa/mesa/-/commit/829d74b2f2db
    
    PR:             280071
    Reported by:    Anton Saietskii
---
 graphics/mesa-devel/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 2cd4e6c4dfaa..ced868c6dcd3 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -78,7 +78,8 @@ radeonsi_DESC=		Southern Islands and newer
 
 VULKAN_DESC=		Vulkan drivers
 anv_DESC=		Skylake and newer (implies OPENCL)
-anv_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR}
+anv_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \
+			glslangValidator:graphics/glslang
 anv_MESON_ON=		${"${ARCH:Mamd64}":?:-Dintel-rt=disabled} # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
 anv_IMPLIES=		OPENCL
 hasvk_DESC=		Ivy Bridge, Haswell, Broadwell