Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2019 21:51:11 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518056 - in head/net: asterisk13 asterisk16
Message-ID:  <201911202151.xAKLpBD5071362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Wed Nov 20 21:51:10 2019
New Revision: 518056
URL: https://svnweb.freebsd.org/changeset/ports/518056

Log:
  Really build the opus module when the OPUS option is enabled.
  
  PR:		242103
  Submitted by:	ben@desync.com
  MFH:		2019Q4

Modified:
  head/net/asterisk13/Makefile
  head/net/asterisk16/Makefile

Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile	Wed Nov 20 21:48:16 2019	(r518055)
+++ head/net/asterisk13/Makefile	Wed Nov 20 21:51:10 2019	(r518056)
@@ -285,6 +285,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-*

Modified: head/net/asterisk16/Makefile
==============================================================================
--- head/net/asterisk16/Makefile	Wed Nov 20 21:48:16 2019	(r518055)
+++ head/net/asterisk16/Makefile	Wed Nov 20 21:51:10 2019	(r518056)
@@ -290,6 +290,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-*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911202151.xAKLpBD5071362>