summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorreed <reed>2007-09-05 14:31:52 +0000
committerreed <reed>2007-09-05 14:31:52 +0000
commitd680a19f17c498696fa7a36eb01978c03e7ae3c7 (patch)
treee91c46349ef3987c79fbd07e6159fff21c07a89b /chat
parentde10e2fe5cb42d317bf1fa0192635560af14c979 (diff)
downloadpkgsrc-d680a19f17c498696fa7a36eb01978c03e7ae3c7.tar.gz
Add "sasl" option. Not enabled by default.
From Todd Kover via PR #36897. (I tested build and install but not running this.) While here, fix a little formatting.
Diffstat (limited to 'chat')
-rw-r--r--chat/libpurple/options.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/chat/libpurple/options.mk b/chat/libpurple/options.mk
index bfbb3a57e59..ae724381917 100644
--- a/chat/libpurple/options.mk
+++ b/chat/libpurple/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2007/08/13 22:18:58 tnn Exp $
+# $NetBSD: options.mk,v 1.5 2007/09/05 14:31:52 reed Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libpurple
-PKG_SUPPORTED_OPTIONS+= gnutls perl tcl debug dbus
+PKG_SUPPORTED_OPTIONS+= gnutls perl tcl debug dbus sasl
PKG_SUGGESTED_OPTIONS+= gnutls
.include "../../mk/bsd.options.mk"
@@ -51,7 +51,14 @@ PLIST_SUBST+= DBUS="@comment "
.endif
.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+= --enable-debug
+CONFIGURE_ARGS+= --enable-debug
.else
-CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debug
+.endif
+
+.if !empty(PKG_OPTIONS:Msasl)
+CONFIGURE_ARGS+= --enable-cyrus-sasl
+. include "../../security/cyrus-sasl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-cyrus-sasl
.endif