pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/neomutt neomutt: Provide notmuch pkg option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4799137b5673
branches:  trunk
changeset: 343807:4799137b5673
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Mon Nov 11 14:32:42 2019 +0000

description:
neomutt: Provide notmuch pkg option.

diffstat:

 mail/neomutt/Makefile   |   4 +---
 mail/neomutt/options.mk |  16 +++++++++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r 0b224105df7c -r 4799137b5673 mail/neomutt/Makefile
--- a/mail/neomutt/Makefile     Mon Nov 11 14:24:34 2019 +0000
+++ b/mail/neomutt/Makefile     Mon Nov 11 14:32:42 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2019/11/06 12:28:47 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2019/11/11 14:32:42 ng0 Exp $
 
 DISTNAME=              neomutt-20191102
 CATEGORIES=            mail
@@ -18,7 +18,6 @@
 
 HAS_CONFIGURE=         yes
 EXTRACT_USING=         bsdtar
-CONFIGURE_ARGS+=       --notmuch
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
 
@@ -41,5 +40,4 @@
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../mail/notmuch/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0b224105df7c -r 4799137b5673 mail/neomutt/options.mk
--- a/mail/neomutt/options.mk   Mon Nov 11 14:24:34 2019 +0000
+++ b/mail/neomutt/options.mk   Mon Nov 11 14:32:42 2019 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.13 2019/11/02 16:25:23 rillig Exp $
+# $NetBSD: options.mk,v 1.14 2019/11/11 14:32:43 ng0 Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.neomutt
 PKG_OPTIONS_REQUIRED_GROUPS=   display
 PKG_OPTIONS_GROUP.display=     curses ncurses ncursesw slang
 PKG_SUPPORTED_OPTIONS=         debug gpgme gssapi idn ssl smime sasl
-PKG_SUPPORTED_OPTIONS+=                tokyocabinet
+PKG_SUPPORTED_OPTIONS+=                tokyocabinet notmuch
 PKG_SUGGESTED_OPTIONS=         gpgme gssapi idn ncursesw sasl smime ssl
-PKG_SUGGESTED_OPTIONS+=                tokyocabinet
+PKG_SUGGESTED_OPTIONS+=                tokyocabinet notmuch
 
 .include "../../mk/bsd.options.mk"
 
@@ -140,3 +140,13 @@
 .else
 CONFIGURE_ARGS+=       --disable-gpgme
 .endif
+
+###
+### notmuch support
+###
+.if !empty(PKG_OPTIONS:Mnotmuch)
+.include "../../mail/notmuch/buildlink3.mk"
+CONFIGURE_ARGS+=       --notmuch
+.else
+CONFIGURE_ARGS+=       --disable-notmuch
+.endif



Home | Main Index | Thread Index | Old Index