diff options
author | madpilot <madpilot@FreeBSD.org> | 2015-04-02 08:12:13 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2015-04-02 08:12:13 +0800 |
commit | fec45d2bb1f5cea1ea62657b3bef5a54d8dc970d (patch) | |
tree | 0e735c67dc748efa6fe1ebc8f84d83f0ac1f4f3b /net/asterisk-g72x | |
parent | afac2f2b8e659830a626ea9c61c92839f8ce1c63 (diff) | |
download | freebsd-ports-graphics-fec45d2bb1f5cea1ea62657b3bef5a54d8dc970d.tar.gz freebsd-ports-graphics-fec45d2bb1f5cea1ea62657b3bef5a54d8dc970d.tar.zst freebsd-ports-graphics-fec45d2bb1f5cea1ea62657b3bef5a54d8dc970d.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.
Diffstat (limited to 'net/asterisk-g72x')
-rw-r--r-- | net/asterisk-g72x/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile index 4f66516e3df..5db3bc79ffa 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> |