commit:     1e5d35a2df840f3e381108277ea192c6bd9363db
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  1 23:48:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  1 23:52:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5d35a2

kernel-2.eclass: require real bison & flex

This reverts commit 57a9b506597e766521a5633898d33fef125ecd5b and
commit bd3dc0379262bedb0bb301df1b9c82442835be3e.

GNU Bison is at least needed, unclear about flex vs reflex, but let's
say flex for now as the kernel docs say it (most of the time, reflex does
work in place of flex, but not checked so let's be safe).

Closes: https://bugs.gentoo.org/922823
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/kernel-2.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index a0574e076740..55b59fd9e90f 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -656,9 +656,9 @@ if [[ ${ETYPE} == sources ]]; then
                app-alternatives/cpio
                dev-lang/perl
                app-alternatives/bc
-               app-alternatives/yacc
-               app-alternatives/lex
                dev-build/make
+               sys-devel/bison
+               sys-devel/flex
                >=sys-libs/ncurses-5.2
                virtual/libelf
                virtual/pkgconfig

Reply via email to