diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2014-11-26 10:40:05 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2014-11-26 10:40:05 +0000 |
commit | 34ab3fcbf10e39a5d70e08b3508a41c4bd23580c (patch) | |
tree | ab27f12b228ac784605e8f0846855a7b7ebb1146 /net | |
parent | 3693611ac3612f5187b44ebf2a8da9bd370e9d76 (diff) | |
download | ports-34ab3fcbf10e39a5d70e08b3508a41c4bd23580c.tar.gz ports-34ab3fcbf10e39a5d70e08b3508a41c4bd23580c.zip |
- Make UUID support an option (enabled by default, no functional
change in default port)
- Mark conflict on UUID option with ossp-uuid port, since asterisk
requires misc/e2fsprogs-libuuid for this functionality and will not
build if the former is installed.
Please note that when compiling without UUID support the res_rtp
module in asterisk will have reduced functionality, so it is suggested
to keep the option turned on.
PR: 195249
Submitted by: blacktux82 at gmail.com
Notes
Notes:
svn path=/head/; revision=373444
Diffstat (limited to 'net')
-rw-r--r-- | net/asterisk11/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net/asterisk11/Makefile b/net/asterisk11/Makefile index e9397ac1c8c8..bd1551806975 100644 --- a/net/asterisk11/Makefile +++ b/net/asterisk11/Makefile @@ -2,6 +2,7 @@ PORTNAME= asterisk PORTVERSION= 11.14.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ @@ -13,14 +14,12 @@ COMMENT= Open Source PBX and telephony toolkit LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex \ libnewt.so:${PORTSDIR}/devel/newt \ libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ - libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ - libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid + libsqlite3.so:${PORTSDIR}/databases/sqlite3 RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-uuid=${LOCALBASE} LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323 CFLAGS+= -I${LOCALBASE}/include @@ -43,9 +42,9 @@ CONFLICTS_BUILD= linuxthreads-* CONFLICTS_INSTALL= asterisk*-1.4* asterisk*-1.6* asterisk*-1.8* OPTIONS_DEFINE= VORBIS PGSQL MYSQL ODBC RADIUS SNMP FREETDS XMPP SQLITE GSM \ - CURL SPANDSP EXCHANGE NEWG711 SRTP LUA LDAP OOH323 + CURL SPANDSP EXCHANGE NEWG711 SRTP LUA LDAP OOH323 UUID OPTIONS_DEFAULT= VORBIS ODBC PGSQL RADIUS SNMP FREETDS \ - XMPP GSM SQLITE CURL LUA + XMPP GSM SQLITE CURL LUA UUID OPTIONS_DEFINE_i386= DAHDI OPTIONS_DEFINE_amd64= DAHDI @@ -61,6 +60,7 @@ SRTP_DESC?= SecureRTP support OOH323_DESC?= ooh323 support DAHDI_DESC?= DAHDI support XMPP_DESC?= XMPP/GTALK support +UUID_DESC?= libuuid support(required for ICE and TURN in RTP) OPTIONS_SUB= yes OOH323_LIB_DEPENDS= libpt_r.so:${PORTSDIR}/devel/pwlib \ @@ -109,6 +109,10 @@ LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes +UUID_LIB_DEPENDS= libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid +UUID_CONFIGURE_ON= --with-uuid=${LOCALBASE} +UUID_CONFIGURE_OFF= --disable-uuid +UUID_CONFLICTS= ossp-uuid-[0-9]* ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk |