blob: 3f7f4335e659efff2709febe2079b4f8b4f6cc7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $FreeBSD$
PORTNAME= bctoolbox
PORTVERSION= 0.6.0
PORTREVISION= 2
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>
|