aboutsummaryrefslogtreecommitdiffstats
path: root/net/pjsip
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2015-01-13 19:54:03 +0800
committermadpilot <madpilot@FreeBSD.org>2015-01-13 19:54:03 +0800
commit198aeee45c6f61ff8633bdd6036ddbcae450dc8d (patch)
treec1efa38a45429645001161f42eac06174bfca335 /net/pjsip
parent0aea06428b8756acc9a215bac670b6b49b8e2516 (diff)
downloadfreebsd-ports-gnome-198aeee45c6f61ff8633bdd6036ddbcae450dc8d.tar.gz
freebsd-ports-gnome-198aeee45c6f61ff8633bdd6036ddbcae450dc8d.tar.zst
freebsd-ports-gnome-198aeee45c6f61ff8633bdd6036ddbcae450dc8d.zip
- Make pjsip use ports provided libsrtp instead of boudled one
- Fix asterisk13 SRTP support - Fix asterisk13 SPEEX_LIB_DEPENDS - While here make SRTP option default for asterisk13 since it does not add dependencies
Diffstat (limited to 'net/pjsip')
-rw-r--r--net/pjsip/Makefile5
-rw-r--r--net/pjsip/pkg-plist3
2 files changed, 4 insertions, 4 deletions
diff --git a/net/pjsip/Makefile b/net/pjsip/Makefile
index fab697fb4f63..f6ca38c8df30 100644
--- a/net/pjsip/Makefile
+++ b/net/pjsip/Makefile
@@ -2,6 +2,7 @@
PORTNAME= pjsip
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.pjsip.org/release/${PORTVERSION}/
DISTNAME= pjproject-${DISTVERSION}
@@ -11,10 +12,12 @@ COMMENT= Multimedia communication library written in C language
LICENSE= GPLv2
-LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2
+LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
+ libsrtp.so:${PORTSDIR}/net/libsrtp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-external-pa \
+ --with-external-srtp \
--disable-silk
USES= gmake tar:bz2
USE_LDCONFIG= yes
diff --git a/net/pjsip/pkg-plist b/net/pjsip/pkg-plist
index 10f21f23e85a..bb1dc31721ea 100644
--- a/net/pjsip/pkg-plist
+++ b/net/pjsip/pkg-plist
@@ -342,7 +342,4 @@ lib/libpjsua2-%%CONFIGURE_TARGET%%.a
%%NO_SAMPLERATE%%%%RESAMPLE%%lib/libresample-%%CONFIGURE_TARGET%%.a
%%NO_SAMPLERATE%%%%RESAMPLE%%%%RESAMPLEDLL%%lib/libresample.so
%%NO_SAMPLERATE%%%%RESAMPLE%%%%RESAMPLEDLL%%lib/libresample.so.2
-lib/libsrtp-%%CONFIGURE_TARGET%%.a
-%%SHARED%%lib/libsrtp.so
-%%SHARED%%lib/libsrtp.so.2
libdata/pkgconfig/libpjproject.pc