git: bde22959364b - main - graphics/mesa-devel: depend on clover for ICD after d8990eff958b

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 06 Feb 2023 14:57:58 UTC
The branch main has been updated by jbeich:

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

commit bde22959364b857814bfe49a48fde88b5a945990
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-06 14:21:12 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-06 14:56:31 +0000

    graphics/mesa-devel: depend on clover for ICD after d8990eff958b
---
 graphics/mesa-devel/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 2ad3021005f6..7b4a98b03fe0 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	mesa
 DISTVERSION=	23.0-branchpoint-990
 DISTVERSIONSUFFIX=	-gea413e826b2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 PKGNAMESUFFIX=	-devel
 
@@ -116,6 +116,9 @@ OPENCL_MESON_FALSE=	b_lundef # environ
 OPENCL_MESON_TRUE=	gallium-rusticl
 OPENCL_MESON_ON=	-Dgallium-opencl=icd
 OPENCL_VARS=		LLVM_USES=llvm:15,lib # chase libclc + rust (LTO)
+.if ${MACHINE_ARCH} != aarch64 # XXX missing in ONLY_FOR_ARCHS
+OPENCL_VARS+=		COINST_RUN_DEPENDS+=${LOCALBASE}/etc/OpenCL/vendors/${PORTNAME}.icd:lang/clover
+.endif
 OPENCL_IMPLIES=		LLVM ${"${PORT_OPTIONS:Miris}":?iris:radeonsi} # any from OPTIONS_GROUP_GALLIUM
 
 VAAPI_DESC=		Hardware encoding/decoding (only r600, radeonsi)