1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/devel/libclc/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

41 lines
947 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libclc
DISTVERSION= 0.2.0.20151006
CATEGORIES= devel
MAINTAINER= x11@FreeBSD.org
COMMENT= Required library functions for OpenCL C programming language
BUILD_DEPENDS= clang${LLVMVER}:devel/llvm${LLVMVER} \
libedit>=0:devel/libedit
USE_GITHUB= yes
GH_ACCOUNT= llvm-mirror
GH_TAGNAME= 6d78407
GNU_CONFIGURE= yes
USES= gmake python:2,build ninja
USE_LDCONFIG= yes
MAKE_ENV= MAKE=${GMAKE} DESTDIR=${STAGEDIR}
LLVMVER= 37
ALL_TARGET=
BROKEN_FreeBSD_9= missing <system_error> header
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 ninja \
--with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVMVER} \
--pkgconfigdir=${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>