Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sel/
Date: Sat, 09 Jan 2021 16:23:03
Message-Id: 1610209374.f2cc6de11561bcb15fe0a2654a9193b85434b48f.polynomial-c@gentoo
1 commit: f2cc6de11561bcb15fe0a2654a9193b85434b48f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 9 16:20:02 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 9 16:22:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cc6de1
7
8 dev-util/sel: Fixed build with sys-libs/ncurses[tinfo]
9
10 Closes: https://bugs.gentoo.org/691306
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
13
14 dev-util/sel/sel-0.08.4-r2.ebuild | 8 +++++---
15 1 file changed, 5 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-util/sel/sel-0.08.4-r2.ebuild b/dev-util/sel/sel-0.08.4-r2.ebuild
18 index 6c4bae9142a..c301ba522d1 100644
19 --- a/dev-util/sel/sel-0.08.4-r2.ebuild
20 +++ b/dev-util/sel/sel-0.08.4-r2.ebuild
21 @@ -1,7 +1,7 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 inherit toolchain-funcs
30
31 @@ -14,6 +14,7 @@ LICENSE="GPL-2"
32 KEYWORDS="amd64 ppc s390 sparc x86"
33
34 RDEPEND="sys-libs/ncurses:0="
35 +BDEPEND="virtual/pkgconfig"
36
37 DOCS=( "help.txt" README.GER whatsnew )
38
39 @@ -25,7 +26,8 @@ src_prepare() {
40 }
41
42 src_compile() {
43 - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="-lncurses"
44 + local PKGCONFIG="$(tc-getPKG_CONFIG)"
45 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="$(${PKGCONFIG} --libs ncurses)"
46 }
47
48 src_install() {