blob: 3e750c30780df6a0cb46025ea3bfba193d63bfdc (
plain) (
blame)
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
29
30
|
# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= libzrtpcpp
PORTVERSION= 2.3.4
PORTREVISION= 6
CATEGORIES= devel
MASTER_SITES= GNU/ccrtp
MAINTAINER= acm@FreeBSD.org
COMMENT= ZRTP extension for GNU ccRTP
LIB_DEPENDS= libccrtp.so:${PORTSDIR}/devel/ccrtp \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
USES= cmake iconv gettext pkgconfig
USE_OPENSSL= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
CXXFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC}
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB}
USE_LDCONFIG= yes
CONFLICTS_BUILD=libzrtpcppcore
post-patch:
@${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} -i "" \
-e "s|<malloc.h>|<stdlib.h>|" \
-e "s|<stdint.h>|<inttypes.h>|"
.include <bsd.port.mk>
|