# Created by: Oliver Hartmann # $FreeBSD$ PORTNAME= freeocl PORTVERSION= 0.3.6 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= FreeOCL-${PORTVERSION}-src MAINTAINER= ohartman@zedat.fu-berlin.de COMMENT= Free Open Computing Language (OpenCL) implementation for CPU BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \ ${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl LICENSE= LGPL3 WRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source USE_GCC= 4.6+ USE_CMAKE= yes USE_LDCONFIG= yes CMAKE_BUILD_TYPE=Release post-patch: ${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \ ${WRKSRC}/CMakeLists.txt .include .if ${OSVERSION} < 800000 BROKEN= this port does not compile at 7.x: "src/program.cpp:531:37: error: 'RTLD_NOLOAD' was not declared in this scope" .endif .include