commit: 65f80aa99342ca1f5fa6d9081ffabaac713619cb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Aug 31 03:42:12 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Aug 31 03:44:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f80aa9
net-news/rsstail: port to EAPI 7 * Move away from EAPI 4 * Find mrss correctly via pkgconfig Closes: https://bugs.gentoo.org/731240 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam <AT> gentoo.org> net-news/rsstail/rsstail-1.8.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net-news/rsstail/rsstail-1.8.ebuild b/net-news/rsstail/rsstail-1.8.ebuild index 9e245b82efe..4fd758104f2 100644 --- a/net-news/rsstail/rsstail-1.8.ebuild +++ b/net-news/rsstail/rsstail-1.8.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 inherit toolchain-funcs @@ -12,8 +12,8 @@ SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" +BDEPEND="virtual/pkgconfig" DEPEND=">=net-libs/libmrss-0.17.1" RDEPEND="${DEPEND}" @@ -21,7 +21,7 @@ src_compile() { emake \ CC="$(tc-getCC)" \ CFLAGS="${CFLAGS} -DVERSION=\\\"\$(VERSION)\\\"" \ - LDFLAGS="${LDFLAGS} -lmrss" + LDFLAGS="${LDFLAGS} $(pkg-config --libs mrss)" } src_install() {
