summaryrefslogtreecommitdiff
path: root/mail/neomutt
diff options
context:
space:
mode:
authorng0 <ng0@pkgsrc.org>2019-11-11 14:32:42 +0000
committerng0 <ng0@pkgsrc.org>2019-11-11 14:32:42 +0000
commitc6f671884fb53b8d93c13a818dd5dabfcd7d112a (patch)
tree5eb40d69ab817abf7d109128add401e64f6c3415 /mail/neomutt
parentf4f1cf8b6a5de0bca4f803262f4b8e32153d6684 (diff)
downloadpkgsrc-c6f671884fb53b8d93c13a818dd5dabfcd7d112a.tar.gz
neomutt: Provide notmuch pkg option.
Diffstat (limited to 'mail/neomutt')
-rw-r--r--mail/neomutt/Makefile4
-rw-r--r--mail/neomutt/options.mk16
2 files changed, 14 insertions, 6 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 4305910a2ef..02dae62bd1c 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -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 @@ BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
HAS_CONFIGURE= yes
EXTRACT_USING= bsdtar
-CONFIGURE_ARGS+= --notmuch
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
@@ -41,5 +40,4 @@ CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail
.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 --git a/mail/neomutt/options.mk b/mail/neomutt/options.mk
index 79530018bab..0667b23bebb 100644
--- a/mail/neomutt/options.mk
+++ b/mail/neomutt/options.mk
@@ -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 @@ CONFIGURE_ARGS+= --with-gpgme=${BUILDLINK_PREFIX.gpgme}
.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