commit: c254be0749ca0792ec1c68417bd59ff8f725878a Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sat Aug 31 13:12:31 2019 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sat Aug 31 13:12:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c254be07
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 <AT> gentoo.org> net-mail/notmuch/notmuch-0.29.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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() {
