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@gentoo.org>
This commit is contained in:
Sam James
2020-08-31 03:44:15 +00:00
parent 905ead6a1e
commit 65f80aa993
+4 -4
View File
@@ -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() {