From a3758d7e9287b760139a64c72d414820d18114ba Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 5 Sep 2007 14:31:52 +0000 Subject: 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. --- chat/libpurple/options.mk | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'chat/libpurple') 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 -- cgit v1.2.3