summaryrefslogtreecommitdiff
path: root/chat/jabberd2
diff options
context:
space:
mode:
Diffstat (limited to 'chat/jabberd2')
-rw-r--r--chat/jabberd2/options.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk
index dae8588a370..51b8f77e6da 100644
--- a/chat/jabberd2/options.mk
+++ b/chat/jabberd2/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2007/06/12 15:26:07 xtraeme Exp $
+# $NetBSD: options.mk,v 1.16 2007/06/12 21:17:34 jwise Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd2
@@ -11,6 +11,7 @@ PKG_OPTIONS_GROUP.storage= storage-mysql storage-pgsql
PKG_OPTIONS_GROUP.storage+= storage-sqlite storage-db
# SASL implementation
PKG_OPTIONS_GROUP.sasl= cyrus-sasl gnusasl
+PKG_SUPPORTED_OPTIONS+= debug
PKG_SUGGESTED_OPTIONS= auth-sqlite storage-sqlite gnusasl
.include "../../mk/bsd.options.mk"
@@ -89,3 +90,7 @@ CONFIGURE_ARGS+= --enable-pam
PLIST_SUBST+= PAM_OPT='@comment '
CONFIGURE_ARGS+= --disable-pam
.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif