freebsd-ports/lang/clover/Makefile
John Marino 1d2525df43 Add USES+=ssl to 3 of 8 graphics/libGL/Makefile.common consumers
Despite having a configure argument of --with-sha1=libcrypto, only three
of the eight users of graphics/libGL/Makefile.common actually link to
SSL libraries.  Individually add USES=ssl to these three ports rather
than have all 8 having this requirement.

Approved by:	SSL blanket
2016-09-15 16:16:22 +00:00

38 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= clover
PORTVERSION= ${MESAVERSION}
PORTREVISION= 0
CATEGORIES= lang
COMMENT= Mesa "Clover" OpenCL library
BUILD_DEPENDS= opencl>=0:devel/opencl
LIB_DEPENDS= libdrm.so:graphics/libdrm \
libOpenCL.so:devel/ocl-icd \
libexpat.so:textproc/expat2
RUN_DEPENDS= opencl>=0:devel/opencl
USES= ssl
USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto \
presentproto xvmc xshmfence
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Clover needs a graphics driver supported by the Radeon KMS driver
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
#MESA_BUILD_WRKSRC= src/util src/glsl src/mesa src/gallium
MESA_INSTALL_WRKSRC= src/gallium/targets/opencl src/gallium/targets/pipe-loader
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000
IGNORE= Clover is only supported on FreeBSD 10.1 and newer
.endif
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
post-install:
@${MV} ${STAGEDIR}/etc/OpenCL ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>