summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/sel')
-rw-r--r--dev-util/sel/sel-0.08.4-r2.ebuild8
1 files 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 6c4bae9142a8..c301ba522d1b 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() {