commit: f2cc6de11561bcb15fe0a2654a9193b85434b48f Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Sat Jan 9 16:20:02 2021 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Sat Jan 9 16:22:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cc6de1
dev-util/sel: Fixed build with sys-libs/ncurses[tinfo] Closes: https://bugs.gentoo.org/691306 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> dev-util/sel/sel-0.08.4-r2.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-util/sel/sel-0.08.4-r2.ebuild b/dev-util/sel/sel-0.08.4-r2.ebuild index 6c4bae9142a..c301ba522d1 100644 --- a/dev-util/sel/sel-0.08.4-r2.ebuild +++ b/dev-util/sel/sel-0.08.4-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit toolchain-funcs @@ -14,6 +14,7 @@ LICENSE="GPL-2" KEYWORDS="amd64 ppc s390 sparc x86" RDEPEND="sys-libs/ncurses:0=" +BDEPEND="virtual/pkgconfig" DOCS=( "help.txt" README.GER whatsnew ) @@ -25,7 +26,8 @@ src_prepare() { } src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="-lncurses" + local PKGCONFIG="$(tc-getPKG_CONFIG)" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="$(${PKGCONFIG} --libs ncurses)" } src_install() {