diff options
Diffstat (limited to 'lang/beignet/Makefile')
-rw-r--r-- | lang/beignet/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/beignet/Makefile b/lang/beignet/Makefile index 71c047487213..9360bec693bd 100644 --- a/lang/beignet/Makefile +++ b/lang/beignet/Makefile @@ -3,6 +3,7 @@ PORTNAME= beignet PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= https://01.org/sites/default/files/ DISTVERSIONSUFFIX= -source @@ -10,11 +11,12 @@ DISTVERSIONSUFFIX= -source MAINTAINER= x11@FreeBSD.org COMMENT= OpenCL library for Intel GPUs -BUILD_DEPENDS= clang${LLVMVER}:lang/clang${LLVMVER} \ +BUILD_DEPENDS= clang${LLVMVER}:devel/llvm${LLVMVER} \ opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd \ libdrm.so:graphics/libdrm -RUN_DEPENDS= opencl>=0:devel/opencl +RUN_DEPENDS= opencl>=0:devel/opencl \ + clang${LLVMVER}:devel/llvm${LLVMVER} WRKSRC= ${WRKDIR}/Beignet-${PORTVERSION}-Source @@ -22,7 +24,7 @@ USES= cmake gmake pkgconfig shebangfix USE_XORG= sm ice x11 xext xfixes USE_GL= gl SHEBANG_FILES= src/git_sha1.sh backend/kernels/compile.sh -LLVMVER= 36 +LLVMVER= 37 CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config${LLVMVER} @@ -35,6 +37,9 @@ BROKEN_FreeBSD_9= Beignet is only supported on FreeBSD 10.1 and newer #OPTIONS_DEFINE= TESTS #TESTS_DESC= Build and run the test suite +EXTRA_PATCHES= ${PATCHDIR}/llvm37-68b5180:-p1 \ + ${PATCHDIR}/llvm37-27522f9:-p1 + .include <bsd.port.options.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002000 |