blob: 3275f766eedc759c474683fe5915951d78a749a7 (
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
29
30
31
|
PORTNAME= libsrtp
DISTVERSIONPREFIX= v
DISTVERSION= 2.3.0
CATEGORIES= net
PKGNAMESUFFIX= 2
MAINTAINER= tijl@FreeBSD.org
COMMENT= Secure RTP (SRTP) Reference Implementation
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= cisco
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-openssl \
crypto_CFLAGS="-I${OPENSSLINC}" \
crypto_LIBS="${OPENSSLLIB}/libcrypto.so"
USES= cpe gmake pkgconfig ssl
CPE_VENDOR= cisco
USE_LDCONFIG= yes
ALL_TARGET= all shared_library
TEST_TARGET= runtest
TEST_ENV= LD_LIBRARY_PATH=${WRKSRC}
post-patch:
@${REINPLACE_CMD} '/supported_cflags=.*-fPIC/d' ${WRKSRC}/configure
.include <bsd.port.mk>
|