git: 697a91231f33 - main - devel/ocl-icd: Update 2.3.2 => 2.3.3

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 11 Jun 2025 15:38:24 UTC
The branch main has been updated by vvd:

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

commit 697a91231f33d9e6e5ecb998e23cadc6d7b164d4
Author:     O. Hartmann <ohartmann@walstatt.org>
AuthorDate: 2025-06-11 15:29:27 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-06-11 15:37:39 +0000

    devel/ocl-icd: Update 2.3.2 => 2.3.3
    
    Changelog:
    - Add support for cl_khr_icd 2.0.0 specification
    https://github.com/OCL-dev/ocl-icd/blob/v2.3.3/NEWS
    
    PR:     287242
---
 devel/ocl-icd/Makefile    | 13 ++++---------
 devel/ocl-icd/distinfo    |  6 +++---
 devel/ocl-icd/pkg-message | 26 +++++---------------------
 3 files changed, 12 insertions(+), 33 deletions(-)

diff --git a/devel/ocl-icd/Makefile b/devel/ocl-icd/Makefile
index 6d7d875d5580..f5c19ad40ae6 100644
--- a/devel/ocl-icd/Makefile
+++ b/devel/ocl-icd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ocl-icd
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.2
+DISTVERSION=	2.3.3
 CATEGORIES=	devel
 
 MAINTAINER=	ohartmann@walstatt.org
@@ -18,9 +18,9 @@ USE_GITHUB=		yes
 GH_ACCOUNT=		OCL-dev
 USE_LDCONFIG=		yes
 GNU_CONFIGURE=		yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS+=	--enable-official-khronos-headers \
-			--enable-custom-vendordir \
+CONFIGURE_ARGS+=	--disable-debug \
+			--enable-custom-layerdir=${LOCALBASE}/etc/OpenCL/layers \
+			--enable-custom-vendordir=${LOCALBASE}/etc/OpenCL/vendors \
 			--enable-pthread-once
 
 INSTALL_TARGET=	install-strip
@@ -37,12 +37,7 @@ MANPAGES_BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
 .include <bsd.port.options.mk>
 
 post-patch:
-.if	${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES}
 	@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \
 		${WRKSRC}/doc/libOpenCL.7.txt.in
-.else
-	@${REINPLACE_CMD} -e 's|doc tests|tests|g' \
-		${WRKSRC}/Makefile.am
-.endif
 
 .include <bsd.port.mk>
diff --git a/devel/ocl-icd/distinfo b/devel/ocl-icd/distinfo
index 68c17e0cb088..066ae4b258ea 100644
--- a/devel/ocl-icd/distinfo
+++ b/devel/ocl-icd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1686998862
-SHA256 (OCL-dev-ocl-icd-v2.3.2_GH0.tar.gz) = ec47d7dcd961ea06695b067e8b7edb82e420ddce03e0081a908c62fd0b8535c5
-SIZE (OCL-dev-ocl-icd-v2.3.2_GH0.tar.gz) = 108988
+TIMESTAMP = 1743695834
+SHA256 (OCL-dev-ocl-icd-v2.3.3_GH0.tar.gz) = 8cd8e8e129db3081a64090fc1252bec39dc88cdb7b3f929315e014b75069bd9d
+SIZE (OCL-dev-ocl-icd-v2.3.3_GH0.tar.gz) = 109854
diff --git a/devel/ocl-icd/pkg-message b/devel/ocl-icd/pkg-message
index 5ff8915adbaf..6fb7bad607f0 100644
--- a/devel/ocl-icd/pkg-message
+++ b/devel/ocl-icd/pkg-message
@@ -1,21 +1,5 @@
-Check your environment variable
-
-	OLC_ICD_VENODRDIR
-
-On FreeBSD, this is set to 
-
-	OCL_ICD_VENDORDIR=/usr/local/etc/OpenCL/vendors
-
-The OCL_ICD_VENDORDIR 
-(ICD = Installable Client Driver) holds the platform
-specific driver configuration files (i.e Intel,
-nVidia, AMD, other OpenCL capable devices).
-
-It could be set globally from your system's shell environemt
-setting, for 
-
-csh in /etc/csh.cshrc:
-	setenv OCL_ICD_VENDORDIR  /usr/local/etc/OpenCL/vendors
-
-or for sh/bash/ksh and derivatives, /etc/profile:
-	export OCL_ICD_VENDORDIR=/usr/local/etc/OpenCL/vendors
+[
+{ type: install
+  message: " Set environment variale, i.e. OCL_ICD_VENDORDIR=/usr/local/etc/OpenCL/vendors"
+}
+]