Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2014 19:14:46 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372647 - head/devel/freeocl
Message-ID:  <201411161914.sAGJEk4j050642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Sun Nov 16 19:14:45 2014
New Revision: 372647
URL: https://svnweb.freebsd.org/changeset/ports/372647
QAT: https://qat.redports.org/buildarchive/r372647/

Log:
  - fix compiler settings and flags
  - define conflicts regarding other ocl, openocl and pocl ports
  - add license
  - extend pkg-descr and add WWW link
  
  PR:		ports/179180
  Submitted by:	ohartman@zedat.fu-berlin.de
  Approved by:	mentors (implicit)

Modified:
  head/devel/freeocl/Makefile
  head/devel/freeocl/pkg-descr

Modified: head/devel/freeocl/Makefile
==============================================================================
--- head/devel/freeocl/Makefile	Sun Nov 16 19:09:47 2014	(r372646)
+++ head/devel/freeocl/Makefile	Sun Nov 16 19:14:45 2014	(r372647)
@@ -3,7 +3,7 @@
 
 PORTNAME=	freeocl
 PORTVERSION=	0.3.6
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	FreeOCL-${PORTVERSION}-src
@@ -11,19 +11,24 @@ DISTNAME=	FreeOCL-${PORTVERSION}-src
 MAINTAINER=	ohartman@zedat.fu-berlin.de
 COMMENT=	Free Open Computing Language (OpenCL) implementation for CPU
 
+LICENSE=	LGPL3
+
 BUILD_DEPENDS=	${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \
 		${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl
 
-LICENSE=	LGPL3
+CONFLICTS=	ocl-icd[0-9]* opencl-icd[0-9]* pocl[0-9]*
 
 WRKSRC=		${WRKDIR}/FreeOCL-${PORTVERSION}-Source
 
-USE_GCC=	yes
+USE_GCC=	any
 USES=		cmake
 USE_LDCONFIG=	yes
 
+CXXFLAGS+=	-pthread -std=gnu++0x
+CMAKE_ENV+=	FREEOCL_CXX_COMPILER="${CXX}"
+
 post-patch:
-	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
+		${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \
 		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>

Modified: head/devel/freeocl/pkg-descr
==============================================================================
--- head/devel/freeocl/pkg-descr	Sun Nov 16 19:09:47 2014	(r372646)
+++ head/devel/freeocl/pkg-descr	Sun Nov 16 19:14:45 2014	(r372647)
@@ -1 +1,5 @@
-FreeOCL - a free OpenCL implementation for CPU
+FreeOCL is an implementation of OpenCL 1.2 specifications 
+targeting CPUs. Instead of using a built-in or dedicated 
+compiler, it relies on an external C++ compiler. 
+
+WWW: https://code.google.com/p/freeocl/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411161914.sAGJEk4j050642>