View | Details | Raw Unified | Return to bug 250562 | Differences between
and this patch

Collapse All | Expand All

(-)devel/ocl-icd/Makefile (-23 / +24 lines)
Lines 1-42 Link Here
1
# Created by: Koop Mast <kwm@FreeBSD.org>
1
PORTNAME=			ocl-icd
2
# $FreeBSD$
2
PORTVERSION=	2.2.13
3
DISTVERSIONPREFIX=	v
4
CATEGORIES=		devel
3
5
4
PORTNAME=	ocl-icd
6
MAINTAINER=		ohartmann@walstatt.org
5
PORTVERSION=	2.2.12
7
COMMENT=			OpenCL Installable Client Driver
6
CATEGORIES=	devel
7
MASTER_SITES=	https://forge.imag.fr/frs/download.php/${REVID}/
8
8
9
MAINTAINER=	ohartmann@walstatt.org
9
LICENSE=			BSD2CLAUSE
10
COMMENT=	OpenCL Installable Client Driver
10
LICENSE_FILE=	${WRKSRC}/COPYING
11
11
12
LICENSE=	BSD2CLAUSE
12
BUILD_DEPENDS=	opencl>=3.0:devel/opencl
13
13
14
BUILD_DEPENDS=	opencl>=2.1:devel/opencl
14
USE_GITHUB=		yes
15
GH_ACCOUNT=		OCL-dev
16
GH_PROJECT=		ocl-icd
15
17
16
CONFLICTS=	freeocl-[0-9]* opencl-icd-[0-9]*
18
USES=					autoreconf gmake libtool localbase:ldflags pathfix
17
19
18
USES=		gmake libtool localbase:ldflags pathfix
20
USE_RUBY=			yes
19
21
RUBY_NO_RUN_DEPENDS=yes
20
USE_GITHUB=	yes
22
USE_LDCONFIG=		yes
21
USE_RUBY=	yes
22
RUBY_NO_RUN_DEPENDS=	yes
23
USE_LDCONFIG=	yes
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
REVID=		836
24
CPPFLAGS+=			-DCL_TARGET_OPENCL_VERSION=300
26
25
27
INSTALL_TARGET=	install-strip
26
INSTALL_TARGET=	install-strip
28
27
29
CONFIGURE_ARGS+=--disable-official-khronos-headers \
28
CONFIGURE_ARGS+=--disable-official-khronos-headers \
30
		--enable-custom-vendordir \
29
				--enable-custom-vendordir \
31
		--enable-pthread-once
30
				--enable-pthread-once
32
31
33
OPTIONS_DEFINE=	DOCS MANPAGES
32
OPTIONS_DEFINE=	DOCS YAMLUPD
34
OPTIONS_DEFAULT=MANPAGES
33
YAMLUPD_DESC=	Check for inst. ICD, update YAML Db
35
OPTIONS_SUB=	yes
34
OPTIONS_SUB=	yes
36
35
37
MANPAGES_BUILD_DEPENDS=	xmlto:textproc/xmlto \
36
MANPAGES_BUILD_DEPENDS=	xmlto:textproc/xmlto \
38
			asciidoc:textproc/asciidoc
37
				asciidoc:textproc/asciidoc
39
38
39
YAMLUPD_CONFIGURE_ENABLE= update-database
40
40
post-patch:
41
post-patch:
41
	@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \
42
	@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \
42
		${WRKSRC}/doc/libOpenCL.7.txt.in
43
		${WRKSRC}/doc/libOpenCL.7.txt.in
(-)devel/ocl-icd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1520760392
1
TIMESTAMP = 1606571134
2
SHA256 (ocl-icd-ocl-icd-2.2.12_GH0.tar.gz) = 7665f368354e3d2b7787ba4a23c6f061db1181195ba1914dd1cdcd462eca4df4
2
SHA256 (OCL-dev-ocl-icd-v2.2.13_GH0.tar.gz) = f85d59f3e8327f15637b91e4ae8df0829e94daeff68c647b2927b8376b1f8d92
3
SIZE (ocl-icd-ocl-icd-2.2.12_GH0.tar.gz) = 456646
3
SIZE (OCL-dev-ocl-icd-v2.2.13_GH0.tar.gz) = 98350
(-)devel/ocl-icd/files/patch-ocl__icd__debug.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ocl_icd_debug.h.orig	2016-04-24 12:11:57 UTC
1
--- ocl_icd_debug.h.orig	2016-04-24 14:11:57.281333306 +0200
2
+++ ocl_icd_debug.h
2
+++ ocl_icd_debug.h	2017-02-02 21:31:54.312526000 +0100
3
@@ -61,9 +61,9 @@ extern int debug_ocl_icd_mask;
3
@@ -61,9 +61,9 @@
4
 	return ret; \
4
 	return ret; \
5
    } while(0)
5
    } while(0)
6
 #  define RETURN_STR(val) do { \
6
 #  define RETURN_STR(val) do { \
(-)devel/ocl-icd/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
provided by this project. This free ICD Loader can load any (free or non
3
provided by this project. This free ICD Loader can load any (free or non
4
free) ICD.
4
free) ICD.
5
5
6
WWW: https://forge.imag.fr/projects/ocl-icd/
6
WWW: https://github.com/OCL-dev/ocl-icd
(-)devel/ocl-icd/pkg-plist (-1 / +1 lines)
Lines 7-10 Link Here
7
%%MANPAGES%%man/man7/libOpenCL.7.gz
7
%%MANPAGES%%man/man7/libOpenCL.7.gz
8
%%MANPAGES%%man/man7/libOpenCL.so.7.gz
8
%%MANPAGES%%man/man7/libOpenCL.so.7.gz
9
%%PORTDOCS%%%%DOCSDIR%%/examples/ocl_icd_bindings.c
9
%%PORTDOCS%%%%DOCSDIR%%/examples/ocl_icd_bindings.c
10
%%MANPAGES%%%%PORTDOCS%%%%DOCSDIR%%/html/libOpenCL.html
10
%%PORTDOCS%%%%DOCSDIR%%/html/libOpenCL.html

Return to bug 250562