View | Details | Raw Unified | Return to bug 239178
Collapse All | Expand All

(-)b/devel/erlang-cl/Makefile (-6 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	cl
4
PORTNAME=	cl
5
PORTVERSION=	1.2.3
5
PORTVERSION=	1.2.4
6
DISTVERSIONPREFIX=	cl-
6
DISTVERSIONPREFIX=	cl-
7
CATEGORIES=	devel
7
CATEGORIES=	devel
8
PKGNAMEPREFIX=	erlang-
8
PKGNAMEPREFIX=	erlang-
Lines 14-30 LICENSE= MIT Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYRIGHT
14
LICENSE_FILE=	${WRKSRC}/COPYRIGHT
15
15
16
BUILD_DEPENDS=	opencl>=0:devel/opencl
16
BUILD_DEPENDS=	opencl>=0:devel/opencl
17
LIB_DEPENDS=	libOpenCL.so:devel/ocl-icd
18
19
USES=		gmake erlang:rebar3 localbase:ldflags
17
20
18
USE_GITHUB=	yes
21
USE_GITHUB=	yes
19
GH_ACCOUNT=	tonyrog
22
GH_ACCOUNT=	tonyrog
20
23
21
USES=		gmake erlang:rebar3 localbase
22
23
PORTDOCS=	*
24
PORTDOCS=	*
24
25
25
OPTIONS_DEFINE=	DOCS
26
OPTIONS_DEFINE=	DOCS
26
27
27
post-build:
28
	@${RMDIR} ${WRKSRC}/priv
29
30
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)b/devel/erlang-cl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1479209283
1
TIMESTAMP = 1562967124
2
SHA256 (tonyrog-cl-cl-1.2.3_GH0.tar.gz) = a9731825ee9b8057006ebb6b472466d51278d1a0e1fa496cf132b5456c54f15b
2
SHA256 (tonyrog-cl-cl-1.2.4_GH0.tar.gz) = 577b8788029148f93217d00a1bbdc500db68ee77b2246bbd892269b5bb98c41a
3
SIZE (tonyrog-cl-cl-1.2.3_GH0.tar.gz) = 137921
3
SIZE (tonyrog-cl-cl-1.2.4_GH0.tar.gz) = 142258
(-)b/devel/erlang-cl/files/patch-c__src_Makefile (+16 lines)
Added Link Here
1
--- c_src/Makefile.orig	2018-09-26 08:28:15 UTC
2
+++ c_src/Makefile
3
@@ -59,6 +59,13 @@ LD_SHARED	:= $(CC) -shared
4
 LDFLAGS	        += -lOpenCL
5
 endif
6
 
7
+ifeq ($(OSNAME), FreeBSD)
8
+LINUX = Yes
9
+CFLAGS += -O3 -fPIC
10
+LD_SHARED	:= $(CC) -shared
11
+LDFLAGS	        += -lOpenCL
12
+endif
13
+
14
 ifeq ($(OSNAME), Darwin)
15
 MAC_OS_X = Yes
16
 ifeq ($(WORDSIZE), 32)
(-)b/devel/erlang-cl/pkg-plist (-2 / +1 lines)
Lines 3-15 lib/erlang/lib/cl-%%VERSION%%/ebin/cl.beam Link Here
3
lib/erlang/lib/cl-%%VERSION%%/ebin/cl10.beam
3
lib/erlang/lib/cl-%%VERSION%%/ebin/cl10.beam
4
lib/erlang/lib/cl-%%VERSION%%/ebin/cl11.beam
4
lib/erlang/lib/cl-%%VERSION%%/ebin/cl11.beam
5
lib/erlang/lib/cl-%%VERSION%%/ebin/cl12.beam
5
lib/erlang/lib/cl-%%VERSION%%/ebin/cl12.beam
6
lib/erlang/lib/cl-%%VERSION%%/ebin/cl13.beam
7
lib/erlang/lib/cl-%%VERSION%%/ebin/clu.beam
6
lib/erlang/lib/cl-%%VERSION%%/ebin/clu.beam
8
lib/erlang/lib/cl-%%VERSION%%/include/cl.hrl
7
lib/erlang/lib/cl-%%VERSION%%/include/cl.hrl
8
lib/erlang/lib/cl-%%VERSION%%/priv/cl_nif.so
9
lib/erlang/lib/cl-%%VERSION%%/src/cl.app.src
9
lib/erlang/lib/cl-%%VERSION%%/src/cl.app.src
10
lib/erlang/lib/cl-%%VERSION%%/src/cl.erl
10
lib/erlang/lib/cl-%%VERSION%%/src/cl.erl
11
lib/erlang/lib/cl-%%VERSION%%/src/cl10.erl
11
lib/erlang/lib/cl-%%VERSION%%/src/cl10.erl
12
lib/erlang/lib/cl-%%VERSION%%/src/cl11.erl
12
lib/erlang/lib/cl-%%VERSION%%/src/cl11.erl
13
lib/erlang/lib/cl-%%VERSION%%/src/cl12.erl
13
lib/erlang/lib/cl-%%VERSION%%/src/cl12.erl
14
lib/erlang/lib/cl-%%VERSION%%/src/cl13.erl
15
lib/erlang/lib/cl-%%VERSION%%/src/clu.erl
14
lib/erlang/lib/cl-%%VERSION%%/src/clu.erl

Return to bug 239178