summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-08-31 15:12:31 +0200
committerFabian Groffen <grobian@gentoo.org>2019-08-31 15:12:48 +0200
commitc254be0749ca0792ec1c68417bd59ff8f725878a (patch)
tree1ecd2416b5d2646d06da495c6a6b26dc5a0aaa37 /net-mail/notmuch
parentapp-text/zathura-pdf-mupdf: Version bump (v0.3.5) (diff)
downloadgentoo-c254be0749ca0792ec1c68417bd59ff8f725878a.tar.gz
gentoo-c254be0749ca0792ec1c68417bd59ff8f725878a.tar.bz2
gentoo-c254be0749ca0792ec1c68417bd59ff8f725878a.zip
net-mail/notmuch: correct gpgme detection on Solaris
Bug: https://bugs.gentoo.org/692098 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'net-mail/notmuch')
-rw-r--r--net-mail/notmuch/notmuch-0.29.1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-mail/notmuch/notmuch-0.29.1.ebuild b/net-mail/notmuch/notmuch-0.29.1.ebuild
index ffa74708369..4984cf17d69 100644
--- a/net-mail/notmuch/notmuch-0.29.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.1.ebuild
@@ -131,7 +131,14 @@ src_prepare() {
append-cxxflags -g
fi
- [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ append-ldflags -lnsl -lsocket # non-autoconf configure
+ # disable gpgme test using too old gpg-key
+ sed -i \
+ -e '/GNUPGHOME=/d' \
+ -e '/SESSION_KEY =/c|| false ;' \
+ configure || die
+ fi
}
src_configure() {