summaryrefslogtreecommitdiff
path: root/comms/asterisk18/options.mk
diff options
context:
space:
mode:
authorjnemeth <jnemeth>2011-10-12 03:21:07 +0000
committerjnemeth <jnemeth>2011-10-12 03:21:07 +0000
commit89d4ca386a392bfdd1ce25171d2eb4af5350bf16 (patch)
treec749bf4f2c4e1d271b059291f5dbcb38273388bb /comms/asterisk18/options.mk
parentb14d9f6b17aaaaf5f2ad1e2c4f6906386b45a692 (diff)
downloadpkgsrc-89d4ca386a392bfdd1ce25171d2eb4af5350bf16.tar.gz
Update to 1.8.7.0nb1.
This update adds a "jabber" option which is enabled by default. This option pulls in iksemel which is used by the res_jabber. Doing this allows chan_jingle (jabber) and chan_gtalk to work.
Diffstat (limited to 'comms/asterisk18/options.mk')
-rw-r--r--comms/asterisk18/options.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/comms/asterisk18/options.mk b/comms/asterisk18/options.mk
index dc497e03bfe..9deeaa62085 100644
--- a/comms/asterisk18/options.mk
+++ b/comms/asterisk18/options.mk
@@ -1,13 +1,14 @@
-# $NetBSD: options.mk,v 1.6 2011/10/11 03:12:55 jnemeth Exp $
+# $NetBSD: options.mk,v 1.7 2011/10/12 03:21:07 jnemeth Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk
PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp
+PKG_SUPPORTED_OPTIONS+= jabber
PKG_OPTIONS_LEGACY_OPTS+= gtk:x11
-PKG_SUGGESTED_OPTIONS= ldap
+PKG_SUGGESTED_OPTIONS= ldap jabber
.include "../../mk/bsd.options.mk"
-PLIST_VARS+= zaptel x11 unixodbc ilbc webvmail ldap spandsp
+PLIST_VARS+= zaptel x11 unixodbc ilbc webvmail ldap spandsp jabber
# Asterisk now uses DAHDI, not zaptel; not implemented yet...
#.if !empty(PKG_OPTIONS:Mzaptel)
@@ -58,6 +59,14 @@ PLIST.spandsp= yes
CONFIGURE_ARGS+= --without-spandsp
.endif
+.if !empty(PKG_OPTIONS:Mjabber)
+. include "../../textproc/iksemel/buildlink3.mk"
+CONFIGURE_ARGS+= --with-iksemel=${PREFIX}
+PLIST.jabber= yes
+.else
+CONFIGURE_ARGS+= --without-iksemel
+.endif
+
MAKE_FLAGS+= GLOBAL_MAKEOPTS=${WRKSRC}/pkgsrc.makeopts
post-configure:
.if !empty(PKG_OPTIONS:Mx11)