eclass/kernel-2: Sync with Gentoo

It's from Gentoo commit 7ef71dd2f0e15a353a958b2572de2f2c353c6afb.
This commit is contained in:
Flatcar Buildbot 2024-01-15 07:12:57 +00:00 committed by Krzesimir Nowak
parent 4606105051
commit 64c31e1b80

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: kernel-2.eclass # @ECLASS: kernel-2.eclass
@ -653,12 +653,12 @@ kernel_is() {
# Capture the sources type and set DEPENDs # Capture the sources type and set DEPENDs
if [[ ${ETYPE} == sources ]]; then if [[ ${ETYPE} == sources ]]; then
RDEPEND="!build? ( RDEPEND="!build? (
app-arch/cpio app-alternatives/cpio
dev-lang/perl dev-lang/perl
sys-devel/bc app-alternatives/bc
sys-devel/bison app-alternatives/yacc
sys-devel/flex app-alternatives/lex
sys-devel/make dev-build/make
>=sys-libs/ncurses-5.2 >=sys-libs/ncurses-5.2
virtual/libelf virtual/libelf
virtual/pkgconfig virtual/pkgconfig