aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk-g72x
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2015-04-02 00:12:13 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2015-04-02 00:12:13 +0000
commit10cf2a235e644c8b6fe6a40f9c23b32cf9100f5c (patch)
tree0e735c67dc748efa6fe1ebc8f84d83f0ac1f4f3b /net/asterisk-g72x
parentb3121d1412dfb72c24b5bb0ce4b1541c57d89eec (diff)
downloadports-10cf2a235e644c8b6fe6a40f9c23b32cf9100f5c.tar.gz
ports-10cf2a235e644c8b6fe6a40f9c23b32cf9100f5c.zip
- Update net/asterisk11 to 11.17.0
- Update net/asterisk13 to 13.3.0 - Fix mgcp module installation - Add needed USE_LDCONFIG to asterisk13 - Adapt asterisk-g72x port and bump PORTREVISION NOTE: While these versions of asterisk can be compiled with clang, I have seen it crash at startup if so compiled. For this reason at present I'm leaving the gcc requirement.
Notes
Notes: svn path=/head/; revision=382976
Diffstat (limited to 'net/asterisk-g72x')
-rw-r--r--net/asterisk-g72x/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile
index 4f66516e3df9..5db3bc79ffa0 100644
--- a/net/asterisk-g72x/Makefile
+++ b/net/asterisk-g72x/Makefile
@@ -2,6 +2,7 @@
PORTNAME= asterisk-g72x
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://asterisk.hosting.lv/src/
@@ -12,7 +13,7 @@ LIB_DEPENDS= libbcg729.so:${PORTSDIR}/audio/bcg729
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bcg729
-USES= autoreconf libtool tar:bzip2
+USES= autoreconf compiler libtool tar:bzip2
NO_OPTIONS_SORT= yes
LDFLAGS+= -L${LOCALBASE}/lib
@@ -38,7 +39,13 @@ ASTERISK13_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13
ASTERISK13_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13
ASTERISK13_CONFIGURE_ON= --with-asterisk130
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == clang
+CFLAGS+= -fblocks
+.endif
+
post-build:
${STRIP_CMD} ${WRKSRC}/.libs/codec_g729.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>