Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/etpan-ng/, mail-client/etpan-ng/files/
Date: Thu, 08 Feb 2018 17:06:54
Message-Id: 1518109601.4bbf1dc67f8d5a0f9eead229155bcf65db1b8ca1.jer@gentoo
1 commit: 4bbf1dc67f8d5a0f9eead229155bcf65db1b8ca1
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 8 16:59:20 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 8 17:06:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bbf1dc6
7
8 mail-client/etpan-ng: Check for curs_set in libtinfo (bug #647018).
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 mail-client/etpan-ng/etpan-ng-0.7.1-r1.ebuild | 15 +++++++++------
13 mail-client/etpan-ng/files/etpan-ng-0.7.1-tinfo.patch | 10 ++++++++++
14 2 files changed, 19 insertions(+), 6 deletions(-)
15
16 diff --git a/mail-client/etpan-ng/etpan-ng-0.7.1-r1.ebuild b/mail-client/etpan-ng/etpan-ng-0.7.1-r1.ebuild
17 index 5dfd3fa457d..f4fc23d2434 100644
18 --- a/mail-client/etpan-ng/etpan-ng-0.7.1-r1.ebuild
19 +++ b/mail-client/etpan-ng/etpan-ng-0.7.1-r1.ebuild
20 @@ -1,7 +1,8 @@
21 -# Copyright 1999-2012 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 -inherit eutils autotools
26 +EAPI=6
27 +inherit autotools
28
29 DESCRIPTION="etPan is a console mail client that is based on libEtPan"
30 HOMEPAGE="http://www.etpan.org/other.html"
31 @@ -16,11 +17,13 @@ RDEPEND=">=net-libs/libetpan-0.35
32 ldap? ( net-nds/openldap )"
33 DEPEND="${RDEPEND}
34 virtual/yacc"
35 +PATCHES=(
36 + "${FILESDIR}"/${P}-as-needed.patch
37 + "${FILESDIR}"/${P}-tinfo.patch
38 +)
39
40 -src_unpack() {
41 - unpack ${A}
42 - cd "${S}"
43 - epatch "${FILESDIR}/${P}-as-needed.patch"
44 +src_prepare() {
45 + default
46 eautoreconf
47 }
48
49
50 diff --git a/mail-client/etpan-ng/files/etpan-ng-0.7.1-tinfo.patch b/mail-client/etpan-ng/files/etpan-ng-0.7.1-tinfo.patch
51 new file mode 100644
52 index 00000000000..2f62659b906
53 --- /dev/null
54 +++ b/mail-client/etpan-ng/files/etpan-ng-0.7.1-tinfo.patch
55 @@ -0,0 +1,10 @@
56 +--- a/configure.in
57 ++++ b/configure.in
58 +@@ -125,6 +125,7 @@
59 + AC_CHECK_HEADER(ncurses.h, [ncurses=yes])
60 + test "x$ncurses" = "xyes" && AC_CHECK_LIB(ncurses, initscr, [LIBS="$LIBS -lncurses"; ncurses=yes], [ncurses=no])
61 + test "x$ncurses" = "xno" && AC_MSG_ERROR([ncurses support required])
62 ++AC_SEARCH_LIBS(curs_set, ncurses tinfo)
63 +
64 + dnl Libetpan
65 + libetpan=no