ports/net/bctoolbox/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

29 lines
637 B
Makefile

# $FreeBSD$
PORTNAME= bctoolbox
PORTVERSION= 0.6.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://www.linphone.org/releases/sources/bctoolbox/
MAINTAINER= ports@FreeBSD.org
COMMENT= Belledonne Communications utility library
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= mbedtls>=2.3.0_2:security/mbedtls
LIB_DEPENDS= libmbedtls.so:security/mbedtls
USES= cmake compiler:c++11-lib
USE_LDCONFIG= yes
CFLAGS+= -DHAVE_ARC4RANDOM
CMAKE_ARGS= -DENABLE_STATIC=NO -DENABLE_STRICT=NO \
-DENABLE_TESTS_COMPONENT=NO
post-patch:
@${REINPLACE_CMD} '/clock_gettime/d' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>