aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2019-11-22 09:13:36 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2019-11-22 09:13:36 +0000
commit90b2909afc08008f3389e04cd90408bf3a30d22e (patch)
treecf1265b879a2c2487be06d1a5bd9adc35ca24840 /net
parent1e891f8e248b1170bebc2d9275e4e299d11d1b30 (diff)
downloadports-90b2909afc08008f3389e04cd90408bf3a30d22e.tar.gz
ports-90b2909afc08008f3389e04cd90408bf3a30d22e.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/asterisk13/Makefile3
-rw-r--r--net/asterisk16/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/net/asterisk13/Makefile b/net/asterisk13/Makefile
index 3d0a50e60cc7..870ead36fa7f 100644
--- a/net/asterisk13/Makefile
+++ b/net/asterisk13/Makefile
@@ -292,6 +292,9 @@ post-configure-NEWG711-on:
post-configure-OPTIMIZED_CFLAGS-off:
@cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts
+post-configure-OPUS-on:
+ @cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts
+
post-install:
@${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-*
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index e707550ce6fd..0170c1061c64 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -297,6 +297,9 @@ post-configure-NEWG711-on:
post-configure-OPTIMIZED_CFLAGS-off:
@cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts
+post-configure-OPUS-on:
+ @cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts
+
post-install:
@${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-*