1 |
commit: a47bd35f59d9cd00947e037ed4c628bf08267802 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 11:41:38 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 11:41:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47bd35f |
7 |
|
8 |
mail-client/hap: port to EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
mail-client/hap/files/hap-3.7-ncurses.patch | 4 ++-- |
14 |
mail-client/hap/hap-3.7-r1.ebuild | 12 ++++++------ |
15 |
2 files changed, 8 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/mail-client/hap/files/hap-3.7-ncurses.patch b/mail-client/hap/files/hap-3.7-ncurses.patch |
18 |
index 1ae79b9e981..3bd3efa3a1e 100644 |
19 |
--- a/mail-client/hap/files/hap-3.7-ncurses.patch |
20 |
+++ b/mail-client/hap/files/hap-3.7-ncurses.patch |
21 |
@@ -1,5 +1,5 @@ |
22 |
---- configure.in 1996-07-17 00:50:03.000000000 +0300 |
23 |
-+++ configure.in 2013-03-06 15:09:29.579148360 +0200 |
24 |
+--- a/configure.in 1996-07-17 00:50:03.000000000 +0300 |
25 |
++++ b/configure.in 2013-03-06 15:09:29.579148360 +0200 |
26 |
@@ -6,8 +6,9 @@ |
27 |
AC_PROG_INSTALL |
28 |
|
29 |
|
30 |
diff --git a/mail-client/hap/hap-3.7-r1.ebuild b/mail-client/hap/hap-3.7-r1.ebuild |
31 |
index 54db510d8e8..168f33fc748 100644 |
32 |
--- a/mail-client/hap/hap-3.7-r1.ebuild |
33 |
+++ b/mail-client/hap/hap-3.7-r1.ebuild |
34 |
@@ -1,33 +1,33 @@ |
35 |
-# Copyright 1999-2013 Gentoo Foundation |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
|
39 |
-EAPI=4 |
40 |
+EAPI=7 |
41 |
|
42 |
-inherit autotools eutils |
43 |
+inherit autotools |
44 |
|
45 |
DESCRIPTION="A terminal mail notification program (replacement for biff)" |
46 |
HOMEPAGE="http://www.transbay.net/~enf/sw.html" |
47 |
SRC_URI="http://www.transbay.net/~enf/${P}.tar" |
48 |
|
49 |
-DEPEND="sys-libs/ncurses" |
50 |
+DEPEND="sys-libs/ncurses:0=" |
51 |
RDEPEND="${DEPEND}" |
52 |
|
53 |
LICENSE="GPL-2" |
54 |
SLOT="0" |
55 |
KEYWORDS="~alpha ~amd64 ppc x86" |
56 |
-IUSE="" |
57 |
|
58 |
S="${WORKDIR}/${PN}" |
59 |
|
60 |
src_prepare() { |
61 |
# Fix configure to use ncurses instead of termcap (bug #103105) |
62 |
- epatch "${FILESDIR}/${P}-ncurses.patch" |
63 |
+ eapply "${FILESDIR}/${P}-ncurses.patch" |
64 |
|
65 |
# Fix Makefile.in to use our CFLAGS and LDFLAGS |
66 |
sed -i -e "s/^CFLAGS=-O/CFLAGS=${CFLAGS}/" \ |
67 |
-e "s/^LDFLAGS=.*/LDFLAGS=${LDFLAGS}/" Makefile.in || die |
68 |
|
69 |
# Rebuild the compilation framework |
70 |
+ default |
71 |
eautoreconf |
72 |
} |