summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorPavel Vinogradov2018-12-10 15:34:43 -0500
committerPavel Vinogradov2018-12-10 15:34:43 -0500
commit362faa38c5785c334cb6919fa3292aaa42fa828b (patch)
tree26d01a7349754181d0b184b31b233b0e712aca9e /mail
parent78fac0df64a58ce3699bfdaf4b7cec135f83be3a (diff)
mail/neomutt: needs libgpg-error if gpgme is selected
Diffstat (limited to 'mail')
-rwxr-xr-xmail/neomutt/BUILD4
-rwxr-xr-xmail/neomutt/DEPENDS4
-rw-r--r--mail/neomutt/HISTORY3
3 files changed, 11 insertions, 0 deletions
diff --git a/mail/neomutt/BUILD b/mail/neomutt/BUILD
index 5e41a0cdc0..ec7daf38cb 100755
--- a/mail/neomutt/BUILD
+++ b/mail/neomutt/BUILD
@@ -1,3 +1,7 @@
+if is_depends_enabled "${SPELL}" "gpgme"; then
+ LDFLAGS+=" -lgpg-error"
+fi &&
+
OPTS+=" --docdir=${INSTALL_ROOT}/usr/share/doc/mutt
--with-mailpath=${INSTALL_ROOT}/var/spool/mail
${NEOMUTT_OPTS}" &&
diff --git a/mail/neomutt/DEPENDS b/mail/neomutt/DEPENDS
index 155a41d8a7..ea182a8931 100755
--- a/mail/neomutt/DEPENDS
+++ b/mail/neomutt/DEPENDS
@@ -29,6 +29,10 @@ optional_depends "gpgme" \
"" \
"alternate backend for PGP and S/MIME" &&
+if is_depends_enabled "${SPELL}" "gpgme"; then
+ depends "libgpg-error"
+fi &&
+
case ${HCACHE_BACKEND} in
db)
depends "${HCACHE_BACKEND}" "--bdb" ;;
diff --git a/mail/neomutt/HISTORY b/mail/neomutt/HISTORY
index 733a34ed86..204db69c18 100644
--- a/mail/neomutt/HISTORY
+++ b/mail/neomutt/HISTORY
@@ -1,3 +1,6 @@
+2018-12-10 Pavel Vinogradov <public@sourcemage.org>
+ * BUILD, DEPENDS: needs libgpg-error if gpgme is selected
+
2018-07-16 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 20180716