pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/libpurple Add "sasl" option. Not enabled by default.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e84786361565
branches:  trunk
changeset: 532948:e84786361565
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Sep 05 14:31:52 2007 +0000

description:
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:

 chat/libpurple/options.mk |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 61d718075332 -r e84786361565 chat/libpurple/options.mk
--- a/chat/libpurple/options.mk Wed Sep 05 13:48:24 2007 +0000
+++ b/chat/libpurple/options.mk Wed Sep 05 14:31:52 2007 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index