aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2013-07-26 04:38:41 +0800
committerflo <flo@FreeBSD.org>2013-07-26 04:38:41 +0800
commit560694dc7d75a73ba2663cfd914735bcd2ffdee4 (patch)
tree991f5d0aff3b57301684b66e3a58c5ca2da005e4 /net
parenta4e1320c99ced811519d707c2f06ceda5a924ec2 (diff)
downloadfreebsd-ports-gnome-560694dc7d75a73ba2663cfd914735bcd2ffdee4.tar.gz
freebsd-ports-gnome-560694dc7d75a73ba2663cfd914735bcd2ffdee4.tar.zst
freebsd-ports-gnome-560694dc7d75a73ba2663cfd914735bcd2ffdee4.zip
Make sure res_rtp_asterisk.so gets built. It required libuuid now.
Diffstat (limited to 'net')
-rw-r--r--net/asterisk11/Makefile7
-rw-r--r--net/asterisk11/files/patch-res-pjproject-pjlib-src-pj-guid_uuid.c10
-rw-r--r--net/asterisk11/pkg-plist1
3 files changed, 6 insertions, 12 deletions
diff --git a/net/asterisk11/Makefile b/net/asterisk11/Makefile
index 6714b747453d..8b4870487764 100644
--- a/net/asterisk11/Makefile
+++ b/net/asterisk11/Makefile
@@ -2,6 +2,7 @@
PORTNAME= asterisk
PORTVERSION= 11.5.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -13,15 +14,17 @@ COMMENT= An Open Source PBX and telephony toolkit
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \
newt.52:${PORTSDIR}/devel/newt \
execinfo:${PORTSDIR}/devel/libexecinfo \
- sqlite3:${PORTSDIR}/databases/sqlite3
+ sqlite3:${PORTSDIR}/databases/sqlite3 \
+ uuid:${PORTSDIR}/misc/e2fsprogs-libuuid
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gsm=${LOCALBASE}
+CONFIGURE_ARGS= --with-gsm=${LOCALBASE} --with-uuid=${LOCALBASE}
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323
+CFLAGS+= -I${LOCALBASE}/include
USE_CSTD= gnu89
USE_GMAKE= yes
USE_GNOME= libxml2
diff --git a/net/asterisk11/files/patch-res-pjproject-pjlib-src-pj-guid_uuid.c b/net/asterisk11/files/patch-res-pjproject-pjlib-src-pj-guid_uuid.c
deleted file mode 100644
index 2665df5eab12..000000000000
--- a/net/asterisk11/files/patch-res-pjproject-pjlib-src-pj-guid_uuid.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- res/pjproject/pjlib/src/pj/guid_uuid.c-orig 2013-07-03 14:46:46.000000000 +0200
-+++ res/pjproject/pjlib/src/pj/guid_uuid.c 2013-07-03 14:47:11.000000000 +0200
-@@ -23,7 +23,7 @@
- #include <pj/os.h>
- #include <pj/string.h>
-
--#include <uuid/uuid.h>
-+#include <uuid.h>
-
- PJ_DEF_DATA(const unsigned) PJ_GUID_STRING_LENGTH=36;
diff --git a/net/asterisk11/pkg-plist b/net/asterisk11/pkg-plist
index 2b194d3010ae..885352fe9d4a 100644
--- a/net/asterisk11/pkg-plist
+++ b/net/asterisk11/pkg-plist
@@ -660,6 +660,7 @@ lib/asterisk/modules/res_fax.so
lib/asterisk/modules/res_monitor.so
lib/asterisk/modules/res_musiconhold.so
lib/asterisk/modules/res_mutestream.so
+lib/asterisk/modules/res_rtp_asterisk.so
lib/asterisk/modules/res_rtp_multicast.so
lib/asterisk/modules/res_security_log.so
lib/asterisk/modules/res_stun_monitor.so