diff options
author | jwise <jwise> | 2007-06-12 21:17:34 +0000 |
---|---|---|
committer | jwise <jwise> | 2007-06-12 21:17:34 +0000 |
commit | 836ec48c205417dfcd8c0f038c65c8a356467497 (patch) | |
tree | 2eccf814c3ca377ec798779b36f0cfe5e2e7ff38 /chat | |
parent | 5b9f1335e197ce8e17c13af7f98dd5ee9f3c730d (diff) | |
download | pkgsrc-836ec48c205417dfcd8c0f038c65c8a356467497.tar.gz |
Add a `debug' option which enables the '-D' option to the various jabber
daemons (via configure --enable-debug).
Diffstat (limited to 'chat')
-rw-r--r-- | chat/jabberd2/options.mk | 7 |
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 |