summaryrefslogtreecommitdiff
path: root/net/asterisk/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2007-08-10 16:30:40 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2007-08-10 16:30:40 +0000
commitbe294883beb5d700bd17a9f6fbfbadba9884bc70 (patch)
treeb9d0c1493a4e2ec11e38bcbda21a307a45b0c5d3 /net/asterisk/Makefile
parent- Update to 5.9.7 (diff)
Update to 1.4.10.
Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ )
Notes
Notes: svn path=/head/; revision=197422
Diffstat (limited to 'net/asterisk/Makefile')
-rw-r--r--net/asterisk/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index 85a923df1604..f878654c71c1 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= asterisk
-PORTVERSION= 1.4.9
-PORTREVISION= 1
+PORTVERSION= 1.4.10
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
@@ -48,6 +47,7 @@ OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \
FREETDS "Enable FreeTDS support" on \
JABBER "Enable Jabber and Gtalk support" on \
SQLITE "Enable SQLITE support" on
+# CODEC_PATCH "Apply codec nego patch" off
.include <bsd.port.pre.mk>
@@ -155,6 +155,15 @@ CONFIGURE_ARGS+= --with-sqlite
LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2
.endif
+.if defined(WITH_CODEC_PATCH)
+PATCHFILES= asterisk-1.4.10-codec-negotiation-20070810.diff.gz
+PATCH_SITES= http://www.sippysoft.com/~bamby/
+EXTRA_PATCHES= ${PATCHDIR}/codecnego-patch-Makefile
+.else
+EXTRA_PATCHES= ${PATCHDIR}/nocodecnego-patch-Makefile
+.endif
+
+
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample