Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/rlwrap/
Date: Mon, 03 Jan 2022 01:19:27
Message-Id: 1641172754.e1f7fc1b141be3d636b4c7d3fef203cc0bc96dea.sam@gentoo
1 commit: e1f7fc1b141be3d636b4c7d3fef203cc0bc96dea
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 3 01:18:22 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 01:19:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f7fc1b
7
8 app-misc/rlwrap: use autotools.eclass, not manual autoreconf
9
10 Vanilla autoreconf won't benefit from error handling
11 or the other magic the eclass does for us.
12
13 Also add a missing ncurses dependency.
14
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 .../rlwrap/{rlwrap-0.45.2.ebuild => rlwrap-0.45.2-r1.ebuild} | 10 +++++++---
18 1 file changed, 7 insertions(+), 3 deletions(-)
19
20 diff --git a/app-misc/rlwrap/rlwrap-0.45.2.ebuild b/app-misc/rlwrap/rlwrap-0.45.2-r1.ebuild
21 similarity index 80%
22 rename from app-misc/rlwrap/rlwrap-0.45.2.ebuild
23 rename to app-misc/rlwrap/rlwrap-0.45.2-r1.ebuild
24 index 8a0f63a892b2..c981173038ec 100644
25 --- a/app-misc/rlwrap/rlwrap-0.45.2.ebuild
26 +++ b/app-misc/rlwrap/rlwrap-0.45.2-r1.ebuild
27 @@ -1,8 +1,10 @@
28 -# Copyright 1999-2021 Gentoo Authors
29 +# Copyright 1999-2022 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI=8
33
34 +inherit autotools
35 +
36 DESCRIPTION="GNU readline wrapper"
37 HOMEPAGE="https://github.com/hanslub42/rlwrap"
38 SRC_URI="https://github.com/hanslub42/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
39 @@ -12,12 +14,14 @@ SLOT="0"
40 KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
41 IUSE="debug"
42
43 -RDEPEND="sys-libs/readline:0="
44 +RDEPEND="sys-libs/ncurses:=
45 + sys-libs/readline:="
46 DEPEND="${RDEPEND}"
47
48 src_prepare() {
49 default
50 - autoreconf --install
51 +
52 + eautoreconf
53 }
54
55 src_configure() {