Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/
Date: Sat, 31 Aug 2019 13:13:04
Message-Id: 1567257168.c254be0749ca0792ec1c68417bd59ff8f725878a.grobian@gentoo
1 commit: c254be0749ca0792ec1c68417bd59ff8f725878a
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 31 13:12:31 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 31 13:12:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c254be07
7
8 net-mail/notmuch: correct gpgme detection on Solaris
9
10 Bug: https://bugs.gentoo.org/692098
11 Package-Manager: Portage-2.3.69, Repoman-2.3.16
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 net-mail/notmuch/notmuch-0.29.1.ebuild | 9 ++++++++-
15 1 file changed, 8 insertions(+), 1 deletion(-)
16
17 diff --git a/net-mail/notmuch/notmuch-0.29.1.ebuild b/net-mail/notmuch/notmuch-0.29.1.ebuild
18 index ffa74708369..4984cf17d69 100644
19 --- a/net-mail/notmuch/notmuch-0.29.1.ebuild
20 +++ b/net-mail/notmuch/notmuch-0.29.1.ebuild
21 @@ -131,7 +131,14 @@ src_prepare() {
22 append-cxxflags -g
23 fi
24
25 - [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
26 + if [[ ${CHOST} == *-solaris* ]] ; then
27 + append-ldflags -lnsl -lsocket # non-autoconf configure
28 + # disable gpgme test using too old gpg-key
29 + sed -i \
30 + -e '/GNUPGHOME=/d' \
31 + -e '/SESSION_KEY =/c|| false ;' \
32 + configure || die
33 + fi
34 }
35
36 src_configure() {