summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2007-09-05 14:31:52 +0000
committerreed <reed@pkgsrc.org>2007-09-05 14:31:52 +0000
commita3758d7e9287b760139a64c72d414820d18114ba (patch)
treee91c46349ef3987c79fbd07e6159fff21c07a89b
parentd5d9e5cec4ff301a127bddd6219798dfe477ea74 (diff)
downloadpkgsrc-a3758d7e9287b760139a64c72d414820d18114ba.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.
-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