Add a spandsp option which pulls in comms/spandsp and links against it
to enable res_fax_spandsp.so. Don't bother with a PKGREVISION bump since this doesn't change default builds and there is no need tobother people that don't need the option.
This commit is contained in:
parent
069046a0aa
commit
0721fec1db
2 changed files with 13 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue