Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/rsstail/
Date: Mon, 31 Aug 2020 03:44:27
Message-Id: 1598845455.65f80aa99342ca1f5fa6d9081ffabaac713619cb.sam@gentoo
1 commit: 65f80aa99342ca1f5fa6d9081ffabaac713619cb
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 03:42:12 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 03:44:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f80aa9
7
8 net-news/rsstail: port to EAPI 7
9
10 * Move away from EAPI 4
11 * Find mrss correctly via pkgconfig
12
13 Closes: https://bugs.gentoo.org/731240
14 Package-Manager: Portage-3.0.4, Repoman-3.0.1
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 net-news/rsstail/rsstail-1.8.ebuild | 8 ++++----
18 1 file changed, 4 insertions(+), 4 deletions(-)
19
20 diff --git a/net-news/rsstail/rsstail-1.8.ebuild b/net-news/rsstail/rsstail-1.8.ebuild
21 index 9e245b82efe..4fd758104f2 100644
22 --- a/net-news/rsstail/rsstail-1.8.ebuild
23 +++ b/net-news/rsstail/rsstail-1.8.ebuild
24 @@ -1,7 +1,7 @@
25 -# Copyright 1999-2012 Gentoo Foundation
26 +# Copyright 1999-2020 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=4
30 +EAPI=7
31
32 inherit toolchain-funcs
33
34 @@ -12,8 +12,8 @@ SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz"
35 LICENSE="GPL-2"
36 SLOT="0"
37 KEYWORDS="amd64 x86"
38 -IUSE=""
39
40 +BDEPEND="virtual/pkgconfig"
41 DEPEND=">=net-libs/libmrss-0.17.1"
42 RDEPEND="${DEPEND}"
43
44 @@ -21,7 +21,7 @@ src_compile() {
45 emake \
46 CC="$(tc-getCC)" \
47 CFLAGS="${CFLAGS} -DVERSION=\\\"\$(VERSION)\\\"" \
48 - LDFLAGS="${LDFLAGS} -lmrss"
49 + LDFLAGS="${LDFLAGS} $(pkg-config --libs mrss)"
50 }
51
52 src_install() {