pkgsrc-WIP-changes archive

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

nmh: Add `oauth' option



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Aug 7 16:56:24 2017 +0200
Changeset:	3f2d7bef261ef35d6607cd86c7b1ce9dfbf0647a

Modified Files:
	nmh/options.mk

Log Message:
nmh: Add `oauth' option

Not enabled by default and only tested via `test' target ATM.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3f2d7bef261ef35d6607cd86c7b1ce9dfbf0647a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nmh/options.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diffs:
diff --git a/nmh/options.mk b/nmh/options.mk
index 4a5c016f21..d05e7d9829 100644
--- a/nmh/options.mk
+++ b/nmh/options.mk
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.4 2012/08/31 02:09:49 schnoebe Exp $
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.nmh
-PKG_SUPPORTED_OPTIONS=		nmh-backup-hash sasl tls
+PKG_SUPPORTED_OPTIONS=		nmh-backup-hash oauth sasl tls
 
 .include "../../mk/bsd.options.mk"
 
@@ -15,6 +15,13 @@ CONFIGURE_ARGS+=	--with-hash-backup
 CONFIGURE_ARGS+=	--without-hash-backup
 .endif
 
+.if !empty(PKG_OPTIONS:Moauth)
+CONFIGURE_ARGS+=	--with-oauth
+.include "../../www/curl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--without-oauth
+.endif
+
 .if !empty(PKG_OPTIONS:Msasl)
 CONFIGURE_ARGS+=	--with-cyrus-sasl
 .include "../../security/cyrus-sasl/buildlink3.mk"


Home | Main Index | Thread Index | Old Index