diff options
-rw-r--r-- | comms/asterisk18/PLIST | 3 | ||||
-rw-r--r-- | comms/asterisk18/options.mk | 14 |
2 files changed, 13 insertions, 4 deletions
diff --git a/comms/asterisk18/PLIST b/comms/asterisk18/PLIST index ad28310fdab..f22bd5679ba 100644 --- a/comms/asterisk18/PLIST +++ b/comms/asterisk18/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2010/12/20 04:06:16 jnemeth Exp $ +@comment $NetBSD: PLIST,v 1.3 2011/02/06 08:30:17 jnemeth Exp $ include/asterisk.h include/asterisk/_private.h include/asterisk/abstract_jb.h @@ -312,6 +312,7 @@ lib/asterisk/modules/res_convert.so lib/asterisk/modules/res_crypto.so lib/asterisk/modules/res_curl.so lib/asterisk/modules/res_fax.so +${PLIST.spandsp}lib/asterisk/modules/res_fax_spandsp.so lib/asterisk/modules/res_limit.so lib/asterisk/modules/res_monitor.so lib/asterisk/modules/res_musiconhold.so diff --git a/comms/asterisk18/options.mk b/comms/asterisk18/options.mk index d79e6112b16..433245151c2 100644 --- a/comms/asterisk18/options.mk +++ b/comms/asterisk18/options.mk @@ -1,13 +1,13 @@ -# $NetBSD: options.mk,v 1.1.1.1 2010/12/15 03:22:45 jnemeth Exp $ +# $NetBSD: options.mk,v 1.2 2011/02/06 08:30:17 jnemeth Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk -PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap +PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp PKG_OPTIONS_LEGACY_OPTS+= gtk:x11 PKG_SUGGESTED_OPTIONS= ldap .include "../../mk/bsd.options.mk" -PLIST_VARS+= zaptel x11 unixodbc ilbc webvmail ldap +PLIST_VARS+= zaptel x11 unixodbc ilbc webvmail ldap spandsp # Asterisk now uses DAHDI, not zaptel; not implemented yet... #.if !empty(PKG_OPTIONS:Mzaptel) @@ -50,6 +50,14 @@ USE_TOOLS+= awk PLIST.ilbc= yes .endif +.if !empty(PKG_OPTIONS:Mspandsp) +. include "../../comms/spandsp/buildlink3.mk" +CONFIGURE_ARGS+= --with-spandsp +PLIST.spandsp= yes +.else +CONFIGURE_ARGS+= --without-spandsp +.endif + MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts post-configure: .if !empty(PKG_OPTIONS:Mx11) |