From c254be0749ca0792ec1c68417bd59ff8f725878a Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 31 Aug 2019 15:12:31 +0200 Subject: 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 --- net-mail/notmuch/notmuch-0.29.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'net-mail') diff --git a/net-mail/notmuch/notmuch-0.29.1.ebuild b/net-mail/notmuch/notmuch-0.29.1.ebuild index ffa74708369a..4984cf17d69a 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() { -- cgit v1.2.3-65-gdbad