mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
57ce68a0c0
Update to 20.2 Move graphics/libxatracker to graphics/mesa-gallium-xa Remove VAAPI and VDPAU options in mesa-libs in favor of two new ports : mesa-gallium-va and mesa-gallium-vdpau Bump needed llvm to llvm10 Change a lot of meson option from false to disabled as it's deprecated. Remove the drm and surfaceless platform from mesa* as it's always enabled now. Add zstd option, used for shader cache. Reviewed by: x11 (zeising@) Differential Revision: https://reviews.freebsd.org/D26682
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# Created by: Koop Mast <kwm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libclc
|
|
DISTVERSION= 0.4.0.20190527
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= Required library functions for OpenCL C programming language
|
|
|
|
LICENSE= LLVM
|
|
LICENSE_NAME= LLVM Release License
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
BROKEN_powerpc64= fails to compile: /usr/local/llvm80/include/llvm-c/DataTypes.h:28:10: fatal error: 'cmath' file not found
|
|
|
|
BUILD_DEPENDS= llvm${LLVM_DEFAULT}>=4.0:devel/llvm${LLVM_DEFAULT} \
|
|
libedit>=0:devel/libedit
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= llvm-mirror
|
|
GH_TAGNAME= 9f6204e
|
|
|
|
# ninja based build is broken since commit 598792bc (16 sep 2016)
|
|
USES= gmake python:2.7,build gmake
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= MAKE=${GMAKE} DESTDIR=${STAGEDIR}
|
|
ALL_TARGET=
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
|
|
-e 's|"python |"${PYTHON_VERSION} |g' \
|
|
${WRKSRC}/build/ninja_syntax.py \
|
|
${WRKSRC}/configure.py
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} -g make \
|
|
--with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT} \
|
|
--pkgconfigdir=${PREFIX}/libdata/pkgconfig \
|
|
--prefix=${PREFIX}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
LLVM_DEFAULT= 10
|
|
|
|
.include <bsd.port.mk>
|