commit:     02b17c9bb64e147affc4acecaa0ff4151b2329bf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 04:19:46 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 21:09:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b17c9b

Move {virtual -> app-alternatives}/yacc

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/doas/doas-6.8.1-r1.ebuild                                | 4 ++--
 app-admin/doas/doas-6.8.2.ebuild                                   | 2 +-
 {virtual => app-alternatives}/yacc/metadata.xml                    | 0
 {virtual => app-alternatives}/yacc/yacc-0.ebuild                   | 0
 app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild                          | 2 +-
 app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild             | 4 ++--
 app-emulation/vice/vice-3.6.1-r2.ebuild                            | 2 +-
 app-misc/tmux/tmux-3.3a-r1.ebuild                                  | 2 +-
 app-misc/tmux/tmux-3.3a.ebuild                                     | 2 +-
 app-misc/tmux/tmux-9999.ebuild                                     | 2 +-
 app-office/mdbtools/mdbtools-1.0.0.ebuild                          | 2 +-
 app-office/sc-im/sc-im-0.8.2.ebuild                                | 2 +-
 app-shells/bash/bash-4.2_p53.ebuild                                | 2 +-
 app-shells/bash/bash-4.3_p48-r2.ebuild                             | 2 +-
 app-shells/bash/bash-4.4_p23-r2.ebuild                             | 2 +-
 app-shells/bash/bash-5.0_p18.ebuild                                | 2 +-
 app-shells/bash/bash-5.1_p16-r2.ebuild                             | 2 +-
 app-shells/bash/bash-5.2_p12.ebuild                                | 2 +-
 app-shells/bash/bash-9999.ebuild                                   | 2 +-
 app-text/a2ps/a2ps-4.14-r7.ebuild                                  | 2 +-
 app-text/a2ps/a2ps-4.14-r8.ebuild                                  | 2 +-
 app-text/dictd/dictd-1.13.0-r3.ebuild                              | 4 ++--
 app-text/dictd/dictd-1.13.0-r5.ebuild                              | 2 +-
 app-text/xdvik/xdvik-22.87.03-r4.ebuild                            | 2 +-
 dev-db/mariadb/mariadb-10.2.44.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.3.35.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.3.36.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.4.25.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.4.26.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.5.16.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.5.17.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.6.10.ebuild                              | 2 +-
 dev-db/mariadb/mariadb-10.6.8-r1.ebuild                            | 2 +-
 dev-db/mysql/mysql-5.7.36-r1.ebuild                                | 2 +-
 dev-db/mysql/mysql-5.7.40.ebuild                                   | 2 +-
 dev-db/mysql/mysql-8.0.27.ebuild                                   | 2 +-
 dev-db/mysql/mysql-8.0.31-r1.ebuild                                | 2 +-
 dev-db/mysql/mysql-8.0.31.ebuild                                   | 2 +-
 dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild           | 2 +-
 dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild           | 2 +-
 dev-embedded/gpsim/gpsim-0.31.0.ebuild                             | 2 +-
 dev-lang/c-intercal/c-intercal-31.0.ebuild                         | 4 ++--
 dev-lang/mono/mono-6.12.0.122.ebuild                               | 2 +-
 dev-lang/srf/srf-1.0-r2.ebuild                                     | 4 ++--
 dev-lang/vala/vala-0.56.3.ebuild                                   | 2 +-
 dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild | 2 +-
 dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild | 2 +-
 dev-libs/libIDL/libIDL-0.8.14-r4.ebuild                            | 2 +-
 dev-libs/libprelude/libprelude-5.2.0-r10.ebuild                    | 4 ++--
 dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild                    | 4 ++--
 dev-libs/libtasn1/libtasn1-4.19.0.ebuild                           | 2 +-
 dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild                         | 2 +-
 dev-util/cproto/cproto-4.7t-r1.ebuild                              | 2 +-
 dev-util/cproto/cproto-4.7u.ebuild                                 | 2 +-
 dev-util/cscope/cscope-15.9.ebuild                                 | 2 +-
 dev-util/cutils/cutils-1.6-r5.ebuild                               | 2 +-
 dev-util/gob/gob-2.0.20-r1.ebuild                                  | 2 +-
 dev-util/kbuild/kbuild-0.1.9998.3407.ebuild                        | 4 ++--
 dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild                     | 2 +-
 dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild                     | 2 +-
 dev-util/kbuild/kbuild-9999.ebuild                                 | 2 +-
 dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild                   | 4 ++--
 eclass/kernel-build.eclass                                         | 2 +-
 games-roguelike/nethack/nethack-3.6.6-r1.ebuild                    | 2 +-
 games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild           | 2 +-
 games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild             | 2 +-
 games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild             | 2 +-
 games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild             | 2 +-
 games-roguelike/stone-soup/stone-soup-0.29.0.ebuild                | 2 +-
 games-roguelike/stone-soup/stone-soup-0.29.1.ebuild                | 2 +-
 mail-filter/milter-regex/milter-regex-2.7-r3.ebuild                | 2 +-
 mail-filter/milter-regex/milter-regex-2.7.ebuild                   | 4 ++--
 media-libs/libaacs/libaacs-0.11.1-r1.ebuild                        | 2 +-
 media-sound/csound/csound-6.17.0.ebuild                            | 2 +-
 media-sound/csound/csound-9999.ebuild                              | 2 +-
 media-sound/denemo/denemo-2.5.0-r1.ebuild                          | 2 +-
 media-sound/denemo/denemo-2.6.0.ebuild                             | 2 +-
 media-video/dvdstyler/dvdstyler-3.2.1.ebuild                       | 2 +-
 net-analyzer/apinger/apinger-0.6.1.ebuild                          | 4 ++--
 net-analyzer/ettercap/ettercap-0.8.3.1.ebuild                      | 4 ++--
 net-analyzer/ettercap/ettercap-9999.ebuild                         | 4 ++--
 net-analyzer/ippl/ippl-1.4.14-r6.ebuild                            | 4 ++--
 net-analyzer/nfdump/nfdump-1.6.24.ebuild                           | 2 +-
 net-analyzer/nfdump/nfdump-1.7.0.1.ebuild                          | 2 +-
 net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild                     | 2 +-
 net-dns/nsd/nsd-4.3.8.ebuild                                       | 4 ++--
 net-dns/nsd/nsd-4.5.0-r1.ebuild                                    | 2 +-
 net-dns/nsd/nsd-4.5.0.ebuild                                       | 2 +-
 net-dns/nsd/nsd-4.6.0.ebuild                                       | 2 +-
 net-dns/nsd/nsd-4.6.1-r1.ebuild                                    | 2 +-
 net-dns/nsd/nsd-9999.ebuild                                        | 2 +-
 net-firewall/iptables/iptables-1.8.8-r5.ebuild                     | 2 +-
 net-fs/autofs/autofs-5.1.6-r2.ebuild                               | 2 +-
 net-fs/autofs/autofs-5.1.8-r1.ebuild                               | 2 +-
 net-fs/netatalk/netatalk-3.1.12-r7.ebuild                          | 2 +-
 net-fs/openafs/openafs-1.8.7.ebuild                                | 2 +-
 net-fs/openafs/openafs-1.8.8.1-r1.ebuild                           | 2 +-
 net-libs/canlock/canlock-3.3.0.ebuild                              | 2 +-
 net-libs/libpcap/libpcap-1.10.1-r2.ebuild                          | 2 +-
 net-libs/libpcap/libpcap-9999.ebuild                               | 2 +-
 net-libs/libsmi/libsmi-0.5.0-r5.ebuild                             | 2 +-
 net-libs/libtrace/libtrace-4.0.18_p1.ebuild                        | 2 +-
 net-libs/libtrace/libtrace-4.0.19_p1.ebuild                        | 2 +-
 net-libs/libtrace/libtrace-4.0.20.ebuild                           | 2 +-
 net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild                   | 2 +-
 net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild                   | 2 +-
 net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild                      | 2 +-
 net-misc/frr/frr-8.2.2.ebuild                                      | 2 +-
 net-misc/mrouted/mrouted-4.2.ebuild                                | 2 +-
 net-misc/mrouted/mrouted-4.4.ebuild                                | 4 ++--
 net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild                         | 4 ++--
 net-nntp/tin/tin-2.6.1.ebuild                                      | 2 +-
 profiles/updates/4Q-2022                                           | 1 +
 sci-mathematics/genius/genius-1.0.27.ebuild                        | 4 ++--
 sci-mathematics/giac/giac-1.7.0.13-r1.ebuild                       | 4 ++--
 sci-mathematics/giac/giac-1.9.0.29-r1.ebuild                       | 2 +-
 sci-mathematics/spin/spin-6.5.2-r1.ebuild                          | 2 +-
 sys-apps/nawk/nawk-20180827-r1.ebuild                              | 2 +-
 sys-apps/nawk/nawk-20220122-r1.ebuild                              | 2 +-
 sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild                  | 2 +-
 sys-devel/bc/bc-1.07.1-r4.ebuild                                   | 2 +-
 sys-devel/bc/bc-1.07.1-r5.ebuild                                   | 2 +-
 sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild        | 2 +-
 sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild           | 2 +-
 sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild           | 2 +-
 sys-devel/binutils/binutils-2.32-r2.ebuild                         | 2 +-
 sys-devel/binutils/binutils-2.33.1-r1.ebuild                       | 2 +-
 sys-devel/binutils/binutils-2.34-r2.ebuild                         | 2 +-
 sys-devel/binutils/binutils-2.35.2.ebuild                          | 2 +-
 sys-devel/binutils/binutils-2.36.1-r2.ebuild                       | 2 +-
 sys-devel/binutils/binutils-2.37_p1-r2.ebuild                      | 2 +-
 sys-devel/binutils/binutils-2.38-r2.ebuild                         | 2 +-
 sys-devel/binutils/binutils-2.39-r4.ebuild                         | 2 +-
 sys-devel/binutils/binutils-9999.ebuild                            | 2 +-
 sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild                | 4 ++--
 sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild         | 4 ++--
 sys-devel/gdb/gdb-11.2.ebuild                                      | 2 +-
 sys-devel/gdb/gdb-12.1-r2.ebuild                                   | 2 +-
 sys-devel/gdb/gdb-9999.ebuild                                      | 2 +-
 sys-fs/lde/lde-2.6.1-r2.ebuild                                     | 4 ++--
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild     | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild     | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild     | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild      | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild      | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild      | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild      | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild      | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild      | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild       | 2 +-
 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild        | 2 +-
 sys-libs/gpm/gpm-1.20.7-r5.ebuild                                  | 2 +-
 sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild                         | 2 +-
 sys-libs/pam/pam-1.5.2-r2.ebuild                                   | 2 +-
 sys-libs/pam/pam-1.5.2-r3.ebuild                                   | 2 +-
 x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild                            | 2 +-
 x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild                            | 2 +-
 x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild                     | 2 +-
 x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild                            | 2 +-
 x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild             | 2 +-
 x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild                | 2 +-
 x11-misc/gtkdialog/gtkdialog-99999.ebuild                          | 2 +-
 162 files changed, 182 insertions(+), 181 deletions(-)

diff --git a/app-admin/doas/doas-6.8.1-r1.ebuild 
b/app-admin/doas/doas-6.8.1-r1.ebuild
index af9ca1d18c7b..849ffa7d7332 100644
--- a/app-admin/doas/doas-6.8.1-r1.ebuild
+++ b/app-admin/doas/doas-6.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="pam persist"
 
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 RDEPEND="pam? ( sys-libs/pam )
        !pam? ( virtual/libcrypt:= )"
 DEPEND="${RDEPEND}"

diff --git a/app-admin/doas/doas-6.8.2.ebuild b/app-admin/doas/doas-6.8.2.ebuild
index 8d775443d9b9..c439e825e527 100644
--- a/app-admin/doas/doas-6.8.2.ebuild
+++ b/app-admin/doas/doas-6.8.2.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="pam persist"
 
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 RDEPEND="pam? ( sys-libs/pam )
        !pam? ( virtual/libcrypt:= )"
 DEPEND="${RDEPEND}"

diff --git a/virtual/yacc/metadata.xml b/app-alternatives/yacc/metadata.xml
similarity index 100%
rename from virtual/yacc/metadata.xml
rename to app-alternatives/yacc/metadata.xml

diff --git a/virtual/yacc/yacc-0.ebuild b/app-alternatives/yacc/yacc-0.ebuild
similarity index 100%
rename from virtual/yacc/yacc-0.ebuild
rename to app-alternatives/yacc/yacc-0.ebuild

diff --git a/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild 
b/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild
index 00df469c14b8..014a0511af92 100644
--- a/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild
+++ b/app-crypt/mit-krb5/mit-krb5-1.20.1.ebuild
@@ -35,7 +35,7 @@ DEPEND="
        "
 BDEPEND="
        ${PYTHON_DEPS}
-       virtual/yacc
+       app-alternatives/yacc
        cpu_flags_x86_aes? (
                amd64? ( dev-lang/yasm )
                x86? ( dev-lang/yasm )

diff --git a/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild 
b/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild
index 692fd2a49ed7..f716cc74b48e 100644
--- a/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild
+++ b/app-editors/hteditor/hteditor-2.1.1_pre20161206.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,7 +20,7 @@ RDEPEND="sys-libs/ncurses:0=
        X? ( x11-libs/libX11 )
        >=dev-libs/lzo-2"
 DEPEND="${RDEPEND}
-       virtual/yacc
+       app-alternatives/yacc
        sys-devel/flex"
 
 DOCS=( AUTHORS ChangeLog KNOWNBUGS README TODO )

diff --git a/app-emulation/vice/vice-3.6.1-r2.ebuild 
b/app-emulation/vice/vice-3.6.1-r2.ebuild
index a6f84bd6d1b2..42bc7e5822b6 100644
--- a/app-emulation/vice/vice-3.6.1-r2.ebuild
+++ b/app-emulation/vice/vice-3.6.1-r2.ebuild
@@ -74,7 +74,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        doc? ( virtual/texi2dvi )
        gtk? ( x11-misc/xdg-utils )"
 

diff --git a/app-misc/tmux/tmux-3.3a-r1.ebuild 
b/app-misc/tmux/tmux-3.3a-r1.ebuild
index 551fa7c7e57d..2f828ba424c0 100644
--- a/app-misc/tmux/tmux-3.3a-r1.ebuild
+++ b/app-misc/tmux/tmux-3.3a-r1.ebuild
@@ -33,7 +33,7 @@ DEPEND="
 
 BDEPEND="
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RDEPEND="

diff --git a/app-misc/tmux/tmux-3.3a.ebuild b/app-misc/tmux/tmux-3.3a.ebuild
index 4f7f1e37b517..f8a47d83ac28 100644
--- a/app-misc/tmux/tmux-3.3a.ebuild
+++ b/app-misc/tmux/tmux-3.3a.ebuild
@@ -33,7 +33,7 @@ DEPEND="
 
 BDEPEND="
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RDEPEND="

diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
index 0ee80bc4dec7..5659b6cd0169 100644
--- a/app-misc/tmux/tmux-9999.ebuild
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -33,7 +33,7 @@ DEPEND="
 
 BDEPEND="
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RDEPEND="

diff --git a/app-office/mdbtools/mdbtools-1.0.0.ebuild 
b/app-office/mdbtools/mdbtools-1.0.0.ebuild
index 173ffd26209c..c92cfbe13867 100644
--- a/app-office/mdbtools/mdbtools-1.0.0.ebuild
+++ b/app-office/mdbtools/mdbtools-1.0.0.ebuild
@@ -18,7 +18,7 @@ BDEPEND="
        app-text/txt2man
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 RDEPEND="
        sys-libs/ncurses:0=

diff --git a/app-office/sc-im/sc-im-0.8.2.ebuild 
b/app-office/sc-im/sc-im-0.8.2.ebuild
index 055adeb7b420..3157fa4c4b74 100644
--- a/app-office/sc-im/sc-im-0.8.2.ebuild
+++ b/app-office/sc-im/sc-im-0.8.2.ebuild
@@ -43,7 +43,7 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 pkg_setup() {
        CONFLICTING=$(usex tmux "tmux " "")$(usex wayland "wayland " "")$(usex 
X "X" "")

diff --git a/app-shells/bash/bash-4.2_p53.ebuild 
b/app-shells/bash/bash-4.2_p53.ebuild
index e80e66616297..b5ae0c39892b 100644
--- a/app-shells/bash/bash-4.2_p53.ebuild
+++ b/app-shells/bash/bash-4.2_p53.ebuild
@@ -51,7 +51,7 @@ RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
 DEPEND="${RDEPEND}
        static? ( ${LIB_DEPEND} )"
 # We only need yacc when the .y files get patched (bash42-005)
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 
 S="${WORKDIR}/${MY_P}"
 

diff --git a/app-shells/bash/bash-4.3_p48-r2.ebuild 
b/app-shells/bash/bash-4.3_p48-r2.ebuild
index 4409129e3732..dcd165238d97 100644
--- a/app-shells/bash/bash-4.3_p48-r2.ebuild
+++ b/app-shells/bash/bash-4.3_p48-r2.ebuild
@@ -54,7 +54,7 @@ DEPEND=">=sys-libs/ncurses-5.2-r2:0=
 RDEPEND="${DEPEND}
        !<sys-apps/portage-2.1.6.7_p1"
 # We only need yacc when the .y files get patched (bash42-005)
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 
 PATCHES=(
        
"${WORKDIR}"/${P}-r2-patches/${PN}-4.3-mapfile-improper-array-name-validation.patch

diff --git a/app-shells/bash/bash-4.4_p23-r2.ebuild 
b/app-shells/bash/bash-4.4_p23-r2.ebuild
index 1cbb226099a8..3da92649f1d5 100644
--- a/app-shells/bash/bash-4.4_p23-r2.ebuild
+++ b/app-shells/bash/bash-4.4_p23-r2.ebuild
@@ -66,7 +66,7 @@ RDEPEND="
        ${DEPEND}
 "
 # We only need yacc when the .y files get patched (bash42-005)
-#BDEPEND="virtual/yacc"
+#BDEPEND="app-alternatives/yacc"
 
 S="${WORKDIR}/${MY_P}"
 

diff --git a/app-shells/bash/bash-5.0_p18.ebuild 
b/app-shells/bash/bash-5.0_p18.ebuild
index 55781d0923c2..84c1ac19288a 100644
--- a/app-shells/bash/bash-5.0_p18.ebuild
+++ b/app-shells/bash/bash-5.0_p18.ebuild
@@ -66,7 +66,7 @@ RDEPEND="
        ${DEPEND}
 "
 # We only need yacc when the .y files get patched (bash42-005)
-#BDEPEND="virtual/yacc"
+#BDEPEND="app-alternatives/yacc"
 
 S="${WORKDIR}/${MY_P}"
 

diff --git a/app-shells/bash/bash-5.1_p16-r2.ebuild 
b/app-shells/bash/bash-5.1_p16-r2.ebuild
index 54d56596e605..eda4291bf8b7 100644
--- a/app-shells/bash/bash-5.1_p16-r2.ebuild
+++ b/app-shells/bash/bash-5.1_p16-r2.ebuild
@@ -85,7 +85,7 @@ RDEPEND="
        ${DEPEND}
 "
 # We only need yacc when the .y files get patched (bash42-005, bash51-011)
-BDEPEND="virtual/yacc
+BDEPEND="app-alternatives/yacc
        verify-sig? ( sec-keys/openpgp-keys-chetramey )"
 
 S="${WORKDIR}/${MY_P}"

diff --git a/app-shells/bash/bash-5.2_p12.ebuild 
b/app-shells/bash/bash-5.2_p12.ebuild
index 955033674b60..96a742ef63a7 100644
--- a/app-shells/bash/bash-5.2_p12.ebuild
+++ b/app-shells/bash/bash-5.2_p12.ebuild
@@ -93,7 +93,7 @@ RDEPEND="
 "
 # We only need yacc when the .y files get patched (bash42-005, bash51-011)
 BDEPEND="
-       virtual/yacc
+       app-alternatives/yacc
        pgo? ( dev-util/gperf )
        verify-sig? ( sec-keys/openpgp-keys-chetramey )
 "

diff --git a/app-shells/bash/bash-9999.ebuild b/app-shells/bash/bash-9999.ebuild
index f679e4cd77dc..6f6be5e13621 100644
--- a/app-shells/bash/bash-9999.ebuild
+++ b/app-shells/bash/bash-9999.ebuild
@@ -92,7 +92,7 @@ RDEPEND="
        ${DEPEND}
 "
 # We only need yacc when the .y files get patched (bash42-005, bash51-011)
-#BDEPEND="virtual/yacc"
+#BDEPEND="app-alternatives/yacc"
 BDEPEND="
        pgo? ( dev-util/gperf )
        verify-sig? ( sec-keys/openpgp-keys-chetramey )

diff --git a/app-text/a2ps/a2ps-4.14-r7.ebuild 
b/app-text/a2ps/a2ps-4.14-r7.ebuild
index 786c6a6aa41d..f8b03be1e0b0 100644
--- a/app-text/a2ps/a2ps-4.14-r7.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r7.ebuild
@@ -26,7 +26,7 @@ RDEPEND="app-text/ghostscript-gpl
        nls? ( virtual/libintl )"
 DEPEND="${RDEPEND}
        >=dev-util/gperf-2.7.2
-       virtual/yacc
+       app-alternatives/yacc
        nls? ( sys-devel/gettext )"
 
 SITEFILE=50${PN}-gentoo.el

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 84a95ffe975e..58a895dd30a3 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -28,7 +28,7 @@ RDEPEND="app-text/ghostscript-gpl
        nls? ( virtual/libintl )"
 DEPEND="${RDEPEND}"
 BDEPEND=">=dev-util/gperf-2.7.2
-       virtual/yacc
+       app-alternatives/yacc
        nls? ( sys-devel/gettext )"
 
 SITEFILE="50${PN}-gentoo.el"

diff --git a/app-text/dictd/dictd-1.13.0-r3.ebuild 
b/app-text/dictd/dictd-1.13.0-r3.ebuild
index 382b8c1052a4..7f096d301669 100644
--- a/app-text/dictd/dictd-1.13.0-r3.ebuild
+++ b/app-text/dictd/dictd-1.13.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        >=sys-apps/gawk-3.1.6
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        test? ( !~sys-apps/gawk-4.2.1 )
 "
 

diff --git a/app-text/dictd/dictd-1.13.0-r5.ebuild 
b/app-text/dictd/dictd-1.13.0-r5.ebuild
index 77f5dd081635..422936500da6 100644
--- a/app-text/dictd/dictd-1.13.0-r5.ebuild
+++ b/app-text/dictd/dictd-1.13.0-r5.ebuild
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        >=sys-apps/gawk-3.1.6
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        test? ( !~sys-apps/gawk-4.2.1 )
 "
 

diff --git a/app-text/xdvik/xdvik-22.87.03-r4.ebuild 
b/app-text/xdvik/xdvik-22.87.03-r4.ebuild
index 7502839c86c5..3e6355994b24 100644
--- a/app-text/xdvik/xdvik-22.87.03-r4.ebuild
+++ b/app-text/xdvik/xdvik-22.87.03-r4.ebuild
@@ -35,7 +35,7 @@ RDEPEND="${DEPEND}
        virtual/latex-base
        !<app-text/texlive-2007"
 BDEPEND="sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        virtual/pkgconfig"
 
 src_prepare() {

diff --git a/dev-db/mariadb/mariadb-10.2.44.ebuild 
b/dev-db/mariadb/mariadb-10.2.44.ebuild
index 3bcfe2a21755..660a03d52e8e 100644
--- a/dev-db/mariadb/mariadb-10.2.44.ebuild
+++ b/dev-db/mariadb/mariadb-10.2.44.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
        >=dev-libs/libpcre-8.41-r1:3=
        virtual/libcrypt:=
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="static? ( sys-libs/ncurses[static-libs] )
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.3.35.ebuild 
b/dev-db/mariadb/mariadb-10.3.35.ebuild
index 2a6125b032c8..1f81f81b363d 100644
--- a/dev-db/mariadb/mariadb-10.3.35.ebuild
+++ b/dev-db/mariadb/mariadb-10.3.35.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
        >=dev-libs/libpcre-8.41-r1:3=
        virtual/libcrypt:=
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="static? ( sys-libs/ncurses[static-libs] )
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.3.36.ebuild 
b/dev-db/mariadb/mariadb-10.3.36.ebuild
index a2cc29cb4523..60891cf33ee9 100644
--- a/dev-db/mariadb/mariadb-10.3.36.ebuild
+++ b/dev-db/mariadb/mariadb-10.3.36.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
        >=dev-libs/libpcre-8.41-r1:3=
        virtual/libcrypt:=
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="static? ( sys-libs/ncurses[static-libs] )
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.4.25.ebuild 
b/dev-db/mariadb/mariadb-10.4.25.ebuild
index c8485e1b1e1f..a8ed64d800d7 100644
--- a/dev-db/mariadb/mariadb-10.4.25.ebuild
+++ b/dev-db/mariadb/mariadb-10.4.25.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
        >=dev-libs/libpcre-8.41-r1:3=
        virtual/libcrypt:=
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="static? ( sys-libs/ncurses[static-libs] )
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.4.26.ebuild 
b/dev-db/mariadb/mariadb-10.4.26.ebuild
index 0219a28a6af8..02eade2fdde1 100644
--- a/dev-db/mariadb/mariadb-10.4.26.ebuild
+++ b/dev-db/mariadb/mariadb-10.4.26.ebuild
@@ -84,7 +84,7 @@ COMMON_DEPEND="
        >=dev-libs/libpcre-8.41-r1:3=
        virtual/libcrypt:=
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="static? ( sys-libs/ncurses[static-libs] )
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.5.16.ebuild 
b/dev-db/mariadb/mariadb-10.5.16.ebuild
index c72454ce1551..791bf3407e22 100644
--- a/dev-db/mariadb/mariadb-10.5.16.ebuild
+++ b/dev-db/mariadb/mariadb-10.5.16.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
                >=dev-libs/openssl-1.0.0:0=
        )
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="${COMMON_DEPEND}
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.5.17.ebuild 
b/dev-db/mariadb/mariadb-10.5.17.ebuild
index 3be699b6654e..889eddaa4a58 100644
--- a/dev-db/mariadb/mariadb-10.5.17.ebuild
+++ b/dev-db/mariadb/mariadb-10.5.17.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
                >=dev-libs/openssl-1.0.0:0=
        )
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="${COMMON_DEPEND}
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.6.10.ebuild 
b/dev-db/mariadb/mariadb-10.6.10.ebuild
index 10f9fc5d787e..d2ca047c5890 100644
--- a/dev-db/mariadb/mariadb-10.6.10.ebuild
+++ b/dev-db/mariadb/mariadb-10.6.10.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
                >=dev-libs/openssl-1.0.0:0=
        )
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="${COMMON_DEPEND}
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mariadb/mariadb-10.6.8-r1.ebuild 
b/dev-db/mariadb/mariadb-10.6.8-r1.ebuild
index 297e1406dc68..85556427b6c0 100644
--- a/dev-db/mariadb/mariadb-10.6.8-r1.ebuild
+++ b/dev-db/mariadb/mariadb-10.6.8-r1.ebuild
@@ -90,7 +90,7 @@ COMMON_DEPEND="
                >=dev-libs/openssl-1.0.0:0=
        )
 "
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 DEPEND="${COMMON_DEPEND}
        server? (
                extraengine? ( jdbc? ( >=virtual/jdk-1.8 ) )

diff --git a/dev-db/mysql/mysql-5.7.36-r1.ebuild 
b/dev-db/mysql/mysql-5.7.36-r1.ebuild
index 2e9a483d39a9..482b873a518e 100644
--- a/dev-db/mysql/mysql-5.7.36-r1.ebuild
+++ b/dev-db/mysql/mysql-5.7.36-r1.ebuild
@@ -71,7 +71,7 @@ DEPEND="
        ${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
        dev-libs/protobuf
-       virtual/yacc
+       app-alternatives/yacc
        server? (
                dev-libs/libevent:=[ssl]
                experimental? ( net-libs/rpcsvc-proto )

diff --git a/dev-db/mysql/mysql-5.7.40.ebuild b/dev-db/mysql/mysql-5.7.40.ebuild
index 8daf02105f3c..a5986730396c 100644
--- a/dev-db/mysql/mysql-5.7.40.ebuild
+++ b/dev-db/mysql/mysql-5.7.40.ebuild
@@ -71,7 +71,7 @@ DEPEND="
        ${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
        dev-libs/protobuf
-       virtual/yacc
+       app-alternatives/yacc
        server? (
                dev-libs/libevent:=[ssl]
                experimental? ( net-libs/rpcsvc-proto )

diff --git a/dev-db/mysql/mysql-8.0.27.ebuild b/dev-db/mysql/mysql-8.0.27.ebuild
index d90e79f15aa5..0a2cedce470c 100644
--- a/dev-db/mysql/mysql-8.0.27.ebuild
+++ b/dev-db/mysql/mysql-8.0.27.ebuild
@@ -70,7 +70,7 @@ COMMON_DEPEND="
 DEPEND="
        ${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
-       virtual/yacc
+       app-alternatives/yacc
        server? ( net-libs/rpcsvc-proto )
        test? (
                acct-group/mysql acct-user/mysql

diff --git a/dev-db/mysql/mysql-8.0.31-r1.ebuild 
b/dev-db/mysql/mysql-8.0.31-r1.ebuild
index 4df005dfd18a..1f29e01ab7d8 100644
--- a/dev-db/mysql/mysql-8.0.31-r1.ebuild
+++ b/dev-db/mysql/mysql-8.0.31-r1.ebuild
@@ -63,7 +63,7 @@ COMMON_DEPEND="
 DEPEND="
        ${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
-       virtual/yacc
+       app-alternatives/yacc
        server? ( net-libs/rpcsvc-proto )
        test? (
                acct-group/mysql acct-user/mysql

diff --git a/dev-db/mysql/mysql-8.0.31.ebuild b/dev-db/mysql/mysql-8.0.31.ebuild
index 07ab584ef2a4..d9fb4237812f 100644
--- a/dev-db/mysql/mysql-8.0.31.ebuild
+++ b/dev-db/mysql/mysql-8.0.31.ebuild
@@ -63,7 +63,7 @@ COMMON_DEPEND="
 DEPEND="
        ${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
-       virtual/yacc
+       app-alternatives/yacc
        server? ( net-libs/rpcsvc-proto )
        test? (
                acct-group/mysql acct-user/mysql

diff --git a/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild 
b/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild
index 190b425a5460..24020d02fca1 100644
--- a/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild
+++ b/dev-db/percona-server/percona-server-8.0.25.15-r1.ebuild
@@ -79,7 +79,7 @@ COMMON_DEPEND="
 "
 DEPEND="${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
-       virtual/yacc
+       app-alternatives/yacc
        server? ( net-libs/rpcsvc-proto )
        test? (
                acct-group/mysql acct-user/mysql

diff --git a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild 
b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
index d4c8ed5cdd27..47b4afb78e18 100644
--- a/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
+++ b/dev-db/percona-server/percona-server-8.0.26.16-r1.ebuild
@@ -79,7 +79,7 @@ COMMON_DEPEND="
 "
 DEPEND="${COMMON_DEPEND}
        || ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
-       virtual/yacc
+       app-alternatives/yacc
        server? ( net-libs/rpcsvc-proto )
        test? (
                acct-group/mysql acct-user/mysql

diff --git a/dev-embedded/gpsim/gpsim-0.31.0.ebuild 
b/dev-embedded/gpsim/gpsim-0.31.0.ebuild
index 115d430bb499..702af55fcda2 100644
--- a/dev-embedded/gpsim/gpsim-0.31.0.ebuild
+++ b/dev-embedded/gpsim/gpsim-0.31.0.ebuild
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES 
TODO )
 

diff --git a/dev-lang/c-intercal/c-intercal-31.0.ebuild 
b/dev-lang/c-intercal/c-intercal-31.0.ebuild
index 1639cfbf56fc..72838a9e05eb 100644
--- a/dev-lang/c-intercal/c-intercal-31.0.ebuild
+++ b/dev-lang/c-intercal/c-intercal-31.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,7 +35,7 @@ IUSE="emacs examples"
 RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
 BDEPEND="${RDEPEND}
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 S="${WORKDIR}/${MY_P}"
 SITEFILE="50${PN}-gentoo.el"

diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild 
b/dev-lang/mono/mono-6.12.0.122.ebuild
index 97ee904ee535..0399f5a023ac 100644
--- a/dev-lang/mono/mono-6.12.0.122.ebuild
+++ b/dev-lang/mono/mono-6.12.0.122.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
 "
 BDEPEND="
        sys-devel/bc
-       virtual/yacc
+       app-alternatives/yacc
        pax-kernel? ( sys-apps/elfix )
 "
 

diff --git a/dev-lang/srf/srf-1.0-r2.ebuild b/dev-lang/srf/srf-1.0-r2.ebuild
index 949fee4692d3..8eb267c91626 100644
--- a/dev-lang/srf/srf-1.0-r2.ebuild
+++ b/dev-lang/srf/srf-1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
 
 DEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
 

diff --git a/dev-lang/vala/vala-0.56.3.ebuild b/dev-lang/vala/vala-0.56.3.ebuild
index 61c1c4bf8638..23240553c433 100644
--- a/dev-lang/vala/vala-0.56.3.ebuild
+++ b/dev-lang/vala/vala-0.56.3.ebuild
@@ -30,7 +30,7 @@ BDEPEND="
        dev-libs/libxslt
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 src_configure() {

diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild 
b/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild
index 4aad17063ef5..c727c75006f8 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.72.0.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
        virtual/pkgconfig
        ${PYTHON_DEPS}
 "
-# Wants real bison, not virtual/yacc
+# Wants real bison, not app-alternatives/yacc
 DEPEND="${RDEPEND}"
 BDEPEND="
        gtk-doc? (

diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild 
b/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild
index 6ac6d58ec435..140af9c36fba 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.74.0.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
        virtual/pkgconfig
        ${PYTHON_DEPS}
 "
-# Wants real bison, not virtual/yacc
+# Wants real bison, not app-alternatives/yacc
 DEPEND="${RDEPEND}"
 BDEPEND="
        gtk-doc? (

diff --git a/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild 
b/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild
index 905d25ac123d..3181772403ae 100644
--- a/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild
+++ b/dev-libs/libIDL/libIDL-0.8.14-r4.ebuild
@@ -17,5 +17,5 @@ RDEPEND=">=dev-libs/glib-2.44.1-r1:2"
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        virtual/pkgconfig"

diff --git a/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild 
b/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild
index aabb447f64d2..b075361a5e28 100644
--- a/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild
+++ b/dev-libs/libprelude/libprelude-5.2.0-r10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,7 +38,7 @@ BDEPEND=">=dev-lang/swig-4.0.0
        python? ( ${PYTHON_DEPS} )
        ruby? ( ${RUBY_DEPS} )
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}/${PN}-4.0.0-fix-python-bindings.patch"

diff --git a/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild 
b/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild
index 257006361297..e3db909f7abf 100644
--- a/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild
+++ b/dev-libs/libpreludedb/libpreludedb-5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,7 @@ BDEPEND=">=dev-lang/swig-4.0.0
        dev-util/gtk-doc-am
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        python? ( ${PYTHON_DEPS} )"
 
 PATCHES=(

diff --git a/dev-libs/libtasn1/libtasn1-4.19.0.ebuild 
b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
index 13246a0a58d4..f392d54b0e85 100644
--- a/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
+++ b/dev-libs/libtasn1/libtasn1-4.19.0.ebuild
@@ -20,7 +20,7 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="
        sys-apps/help2man
-       virtual/yacc
+       app-alternatives/yacc
        test? ( valgrind? ( dev-util/valgrind ) )
        verify-sig? ( sec-keys/openpgp-keys-libtasn1 )
 "

diff --git a/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild 
b/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild
index 366c566a639b..3bd8f993ec54 100644
--- a/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild
+++ b/dev-libs/nsgenbind/nsgenbind-0.8-r1.ebuild
@@ -16,7 +16,7 @@ IUSE=""
 
 BDEPEND="
        dev-util/netsurf-buildsystem
-       virtual/yacc"
+       app-alternatives/yacc"
 
 _emake() {
        netsurf_define_makeconf

diff --git a/dev-util/cproto/cproto-4.7t-r1.ebuild 
b/dev-util/cproto/cproto-4.7t-r1.ebuild
index 770330e2dde8..d03094dfc893 100644
--- a/dev-util/cproto/cproto-4.7t-r1.ebuild
+++ b/dev-util/cproto/cproto-4.7t-r1.ebuild
@@ -17,6 +17,6 @@ KEYWORDS="~alpha amd64 ppc x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 
 DEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"

diff --git a/dev-util/cproto/cproto-4.7u.ebuild 
b/dev-util/cproto/cproto-4.7u.ebuild
index ef6c3626dba2..065167dec606 100644
--- a/dev-util/cproto/cproto-4.7u.ebuild
+++ b/dev-util/cproto/cproto-4.7u.ebuild
@@ -17,6 +17,6 @@ KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 
 DEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"

diff --git a/dev-util/cscope/cscope-15.9.ebuild 
b/dev-util/cscope/cscope-15.9.ebuild
index 2d9421fc287b..4762c7013f81 100644
--- a/dev-util/cscope/cscope-15.9.ebuild
+++ b/dev-util/cscope/cscope-15.9.ebuild
@@ -19,7 +19,7 @@ RDEPEND=">=sys-libs/ncurses-5.2:0=
 DEPEND="${RDEPEND}"
 BDEPEND="sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 SITEFILE="50${PN}-gentoo.el"
 

diff --git a/dev-util/cutils/cutils-1.6-r5.ebuild 
b/dev-util/cutils/cutils-1.6-r5.ebuild
index 8f45dcfd811b..2e0f6fc2a62a 100644
--- a/dev-util/cutils/cutils-1.6-r5.ebuild
+++ b/dev-util/cutils/cutils-1.6-r5.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 
 BDEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-infopage.patch

diff --git a/dev-util/gob/gob-2.0.20-r1.ebuild 
b/dev-util/gob/gob-2.0.20-r1.ebuild
index 977fd1b27142..9071d5e3c116 100644
--- a/dev-util/gob/gob-2.0.20-r1.ebuild
+++ b/dev-util/gob/gob-2.0.20-r1.ebuild
@@ -19,4 +19,4 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"

diff --git a/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild 
b/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild
index b1fc08c377e1..647c3de17e25 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3407.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-# We cannot depend on virtual/yacc until bug #734354 has been fixed
+# We cannot depend on app-alternatives/yacc until bug #734354 has been fixed
 DEPEND="
        sys-apps/texinfo
        sys-devel/flex

diff --git a/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild 
b/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild
index 63ab7642a44d..bcc10dbc6cbf 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild
@@ -21,7 +21,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild 
b/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild
index cd4193e79001..3b479cd2d78d 100644
--- a/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild
+++ b/dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild
@@ -19,7 +19,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/dev-util/kbuild/kbuild-9999.ebuild 
b/dev-util/kbuild/kbuild-9999.ebuild
index 889cf6178062..63851a665f3b 100644
--- a/dev-util/kbuild/kbuild-9999.ebuild
+++ b/dev-util/kbuild/kbuild-9999.ebuild
@@ -25,7 +25,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild 
b/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
index 9d0e1dfeac10..50c685447659 100644
--- a/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
+++ b/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,7 +24,7 @@ RDEPEND="
 "
 DEPEND="
        ${RDEPEND}
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 5b595048d4d0..c8802b39fa8c 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -37,7 +37,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 # @FUNCTION: kernel-build_src_configure

diff --git a/games-roguelike/nethack/nethack-3.6.6-r1.ebuild 
b/games-roguelike/nethack/nethack-3.6.6-r1.ebuild
index 7c457f11ab98..9468da4e4dd2 100644
--- a/games-roguelike/nethack/nethack-3.6.6-r1.ebuild
+++ b/games-roguelike/nethack/nethack-3.6.6-r1.ebuild
@@ -31,7 +31,7 @@ DEPEND="
 "
 BDEPEND="
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        X? (
                x11-apps/bdftopcf
                x11-apps/mkfontscale

diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
index a95eccfae8d3..c992084abb04 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r103.ebuild
@@ -69,7 +69,7 @@ BDEPEND="
                )
        )
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        "
 
 S=${WORKDIR}/${MY_P}/source

diff --git a/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
index da45cd97b64d..470b825f1db4 100644
--- a/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.26.1-r2.ebuild
@@ -69,7 +69,7 @@ BDEPEND="
                )
        )
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        "
 
 S=${WORKDIR}/${MY_P}/source

diff --git a/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
index a635964ac993..925749bfc2bb 100644
--- a/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.27.1-r1.ebuild
@@ -69,7 +69,7 @@ BDEPEND="
                )
        )
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        "
 
 S=${WORKDIR}/${MY_P}/source

diff --git a/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
index 122c0d07f1ba..e4bf631e3ace 100644
--- a/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.28.0-r1.ebuild
@@ -84,7 +84,7 @@ BDEPEND="
                )
        )
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        "
 
 PATCHES=(

diff --git a/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
index 58d0a361967b..11fc27e3c954 100644
--- a/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.29.0.ebuild
@@ -84,7 +84,7 @@ BDEPEND="
                )
        )
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        "
 
 PATCHES=(

diff --git a/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild
index e3d2b6f33cbb..345fbb572c78 100644
--- a/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.29.1.ebuild
@@ -86,7 +86,7 @@ BDEPEND="
                )
        )
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        "
 
 PATCHES=(

diff --git a/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild 
b/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
index fcbf4fdc4295..3eb35c3280e4 100644
--- a/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
+++ b/mail-filter/milter-regex/milter-regex-2.7-r3.ebuild
@@ -16,7 +16,7 @@ IUSE=""
 RDEPEND="acct-user/milter-regex
        >=mail-filter/libmilter-1.0.2_p2:="
 DEPEND="${RDEPEND}
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_prepare() {
        eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"

diff --git a/mail-filter/milter-regex/milter-regex-2.7.ebuild 
b/mail-filter/milter-regex/milter-regex-2.7.ebuild
index e2b98ff9e61f..bb4fad4ea9fd 100644
--- a/mail-filter/milter-regex/milter-regex-2.7.ebuild
+++ b/mail-filter/milter-regex/milter-regex-2.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ IUSE=""
 RDEPEND="acct-user/milter-regex
        || ( mail-filter/libmilter mail-mta/sendmail )"
 DEPEND="${RDEPEND}
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_prepare() {
        eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"

diff --git a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild 
b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
index e38c9a0712c5..c521f48a95d6 100644
--- a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
+++ b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
@@ -17,7 +17,7 @@ RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
        >=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]"
 DEPEND="${RDEPEND}"
 BDEPEND="sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 DOCS=( ChangeLog KEYDB.cfg README.md )
 

diff --git a/media-sound/csound/csound-6.17.0.ebuild 
b/media-sound/csound/csound-6.17.0.ebuild
index cc3c316eca91..a302297076ba 100644
--- a/media-sound/csound/csound-6.17.0.ebuild
+++ b/media-sound/csound/csound-6.17.0.ebuild
@@ -43,7 +43,7 @@ REQUIRED_USE="
 BDEPEND="
        sys-devel/bison
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        doc? ( media-libs/libpng )
        lua? ( dev-lang/swig )
        nls? ( sys-devel/gettext )

diff --git a/media-sound/csound/csound-9999.ebuild 
b/media-sound/csound/csound-9999.ebuild
index ae7b8aae361e..5ed48090fa7f 100644
--- a/media-sound/csound/csound-9999.ebuild
+++ b/media-sound/csound/csound-9999.ebuild
@@ -43,7 +43,7 @@ REQUIRED_USE="
 BDEPEND="
        sys-devel/bison
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        doc? ( media-libs/libpng )
        lua? ( dev-lang/swig )
        nls? ( sys-devel/gettext )

diff --git a/media-sound/denemo/denemo-2.5.0-r1.ebuild 
b/media-sound/denemo/denemo-2.5.0-r1.ebuild
index 5809bf4bd0fa..77832e66e95b 100644
--- a/media-sound/denemo/denemo-2.5.0-r1.ebuild
+++ b/media-sound/denemo/denemo-2.5.0-r1.ebuild
@@ -50,7 +50,7 @@ BDEPEND="
        >=dev-util/intltool-0.51.0-r1
        >=sys-devel/flex-2.6.1
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 )
        nls? ( >=sys-devel/gettext-0.19.8.1 )
 "

diff --git a/media-sound/denemo/denemo-2.6.0.ebuild 
b/media-sound/denemo/denemo-2.6.0.ebuild
index dbeb5f19d947..da6d3dec36b8 100644
--- a/media-sound/denemo/denemo-2.6.0.ebuild
+++ b/media-sound/denemo/denemo-2.6.0.ebuild
@@ -55,7 +55,7 @@ BDEPEND="
        >=dev-util/intltool-0.51.0-r1
        >=sys-devel/flex-2.6.1
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
        gtk-doc? ( >=dev-util/gtk-doc-1.25-r1 )
        nls? ( >=sys-devel/gettext-0.19.8.1 )
 "

diff --git a/media-video/dvdstyler/dvdstyler-3.2.1.ebuild 
b/media-video/dvdstyler/dvdstyler-3.2.1.ebuild
index b42c542e370e..7c8a2acd22d1 100644
--- a/media-video/dvdstyler/dvdstyler-3.2.1.ebuild
+++ b/media-video/dvdstyler/dvdstyler-3.2.1.ebuild
@@ -37,7 +37,7 @@ BDEPEND="
        app-arch/zip
        app-text/xmlto
        sys-devel/gettext
-       virtual/yacc
+       app-alternatives/yacc
        virtual/pkgconfig"
 
 PATCHES=( "${FILESDIR}"/ffmpeg5.patch "${FILESDIR}"/wx30.patch )

diff --git a/net-analyzer/apinger/apinger-0.6.1.ebuild 
b/net-analyzer/apinger/apinger-0.6.1.ebuild
index f57c2ae57160..4b130a04d478 100644
--- a/net-analyzer/apinger/apinger-0.6.1.ebuild
+++ b/net-analyzer/apinger/apinger-0.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
 
 DEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 DOCS=( AUTHORS ChangeLog NEWS README TODO )
 PATCHES=(

diff --git a/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild 
b/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
index 05db91778f2f..9cda1724861c 100644
--- a/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
+++ b/net-analyzer/ettercap/ettercap-0.8.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
                sys-apps/groff )
        test? ( dev-libs/check )
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_prepare() {
        sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die

diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild 
b/net-analyzer/ettercap/ettercap-9999.ebuild
index 07c3e35f6522..b050ccc4f5d7 100644
--- a/net-analyzer/ettercap/ettercap-9999.ebuild
+++ b/net-analyzer/ettercap/ettercap-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
                sys-apps/groff )
        test? ( dev-libs/check )
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_prepare() {
        sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die

diff --git a/net-analyzer/ippl/ippl-1.4.14-r6.ebuild 
b/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
index 1cddf3d999fa..6b7cda25bbc2 100644
--- a/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
+++ b/net-analyzer/ippl/ippl-1.4.14-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 
 BDEPEND="
-       virtual/yacc
+       app-alternatives/yacc
        sys-devel/flex"
 RDEPEND="acct-user/ippl"
 

diff --git a/net-analyzer/nfdump/nfdump-1.6.24.ebuild 
b/net-analyzer/nfdump/nfdump-1.6.24.ebuild
index d4302f132f6c..4fad577222f0 100644
--- a/net-analyzer/nfdump/nfdump-1.6.24.ebuild
+++ b/net-analyzer/nfdump/nfdump-1.6.24.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        doc? (
                app-doc/doxygen
                media-gfx/graphviz

diff --git a/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild 
b/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild
index d4302f132f6c..4fad577222f0 100644
--- a/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild
+++ b/net-analyzer/nfdump/nfdump-1.7.0.1.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        doc? (
                app-doc/doxygen
                media-gfx/graphviz

diff --git a/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild 
b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild
index e86231713615..47313a65e8e4 100644
--- a/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild
+++ b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 
 RESTRICT="test"
 

diff --git a/net-dns/nsd/nsd-4.3.8.ebuild b/net-dns/nsd/nsd-4.3.8.ebuild
index 492c7c14b1d6..4db15d73dd98 100644
--- a/net-dns/nsd/nsd-4.3.8.ebuild
+++ b/net-dns/nsd/nsd-4.3.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -38,7 +38,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        systemd? ( virtual/pkgconfig )
 "
 

diff --git a/net-dns/nsd/nsd-4.5.0-r1.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild
index eefcee308187..68e9b9d51cc0 100644
--- a/net-dns/nsd/nsd-4.5.0-r1.ebuild
+++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        systemd? ( virtual/pkgconfig )
 "
 

diff --git a/net-dns/nsd/nsd-4.5.0.ebuild b/net-dns/nsd/nsd-4.5.0.ebuild
index 63333507b30a..4f654418871a 100644
--- a/net-dns/nsd/nsd-4.5.0.ebuild
+++ b/net-dns/nsd/nsd-4.5.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        systemd? ( virtual/pkgconfig )
 "
 

diff --git a/net-dns/nsd/nsd-4.6.0.ebuild b/net-dns/nsd/nsd-4.6.0.ebuild
index d3d5d3b51e9d..9a17b4f46b26 100644
--- a/net-dns/nsd/nsd-4.6.0.ebuild
+++ b/net-dns/nsd/nsd-4.6.0.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        systemd? ( virtual/pkgconfig )
 "
 

diff --git a/net-dns/nsd/nsd-4.6.1-r1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild
index 07c863ace2f5..c59029d31706 100644
--- a/net-dns/nsd/nsd-4.6.1-r1.ebuild
+++ b/net-dns/nsd/nsd-4.6.1-r1.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        systemd? ( virtual/pkgconfig )
 "
 

diff --git a/net-dns/nsd/nsd-9999.ebuild b/net-dns/nsd/nsd-9999.ebuild
index d3d5d3b51e9d..9a17b4f46b26 100644
--- a/net-dns/nsd/nsd-9999.ebuild
+++ b/net-dns/nsd/nsd-9999.ebuild
@@ -44,7 +44,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        systemd? ( virtual/pkgconfig )
 "
 

diff --git a/net-firewall/iptables/iptables-1.8.8-r5.ebuild 
b/net-firewall/iptables/iptables-1.8.8-r5.ebuild
index 105bbb699754..992da3a8d444 100644
--- a/net-firewall/iptables/iptables-1.8.8-r5.ebuild
+++ b/net-firewall/iptables/iptables-1.8.8-r5.ebuild
@@ -34,7 +34,7 @@ BDEPEND="
        virtual/pkgconfig
        nftables? (
                sys-devel/flex
-               virtual/yacc
+               app-alternatives/yacc
        )
 "
 RDEPEND="

diff --git a/net-fs/autofs/autofs-5.1.6-r2.ebuild 
b/net-fs/autofs/autofs-5.1.6-r2.ebuild
index 50753057a240..bd0b047768ec 100644
--- a/net-fs/autofs/autofs-5.1.6-r2.ebuild
+++ b/net-fs/autofs/autofs-5.1.6-r2.ebuild
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
 BDEPEND="
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/net-fs/autofs/autofs-5.1.8-r1.ebuild 
b/net-fs/autofs/autofs-5.1.8-r1.ebuild
index b896f7862d5f..c904304565b7 100644
--- a/net-fs/autofs/autofs-5.1.8-r1.ebuild
+++ b/net-fs/autofs/autofs-5.1.8-r1.ebuild
@@ -38,7 +38,7 @@ DEPEND="${RDEPEND}
 BDEPEND="
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/net-fs/netatalk/netatalk-3.1.12-r7.ebuild 
b/net-fs/netatalk/netatalk-3.1.12-r7.ebuild
index 5033147b7faf..fd4a73dcc4f4 100644
--- a/net-fs/netatalk/netatalk-3.1.12-r7.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.12-r7.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
 "
 RDEPEND="${CDEPEND}"
 DEPEND="${CDEPEND}
-       virtual/yacc
+       app-alternatives/yacc
        sys-devel/flex
 "
 

diff --git a/net-fs/openafs/openafs-1.8.7.ebuild 
b/net-fs/openafs/openafs-1.8.7.ebuild
index 8d42811d43cf..d56c1e3f22b4 100644
--- a/net-fs/openafs/openafs-1.8.7.ebuild
+++ b/net-fs/openafs/openafs-1.8.7.ebuild
@@ -31,7 +31,7 @@ ncurses perl +pthreaded-ubik +supergroups tsm 
ubik-read-while-write"
 BDEPEND="
        dev-lang/perl
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        apidoc? (
                app-doc/doxygen[dot]
                media-gfx/graphviz

diff --git a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild 
b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
index bedbe27e50a1..8e3c091a6aca 100644
--- a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
+++ b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild
@@ -31,7 +31,7 @@ ncurses perl +pthreaded-ubik +supergroups tsm 
ubik-read-while-write"
 BDEPEND="
        dev-lang/perl
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        apidoc? (
                app-doc/doxygen[dot]
                media-gfx/graphviz

diff --git a/net-libs/canlock/canlock-3.3.0.ebuild 
b/net-libs/canlock/canlock-3.3.0.ebuild
index bd8ea08f1942..a27b890f4590 100644
--- a/net-libs/canlock/canlock-3.3.0.ebuild
+++ b/net-libs/canlock/canlock-3.3.0.ebuild
@@ -15,7 +15,7 @@ IUSE="header-parser +legacy"
 
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 DOCS=( ChangeLog{,_V{0..2}} README TODO doc/sec_review.txt )

diff --git a/net-libs/libpcap/libpcap-1.10.1-r2.ebuild 
b/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
index 21a95f1874b5..6edb007ae109 100644
--- a/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
+++ b/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        dbus? ( virtual/pkgconfig )
 "
 

diff --git a/net-libs/libpcap/libpcap-9999.ebuild 
b/net-libs/libpcap/libpcap-9999.ebuild
index a7f3890a8527..ddd15be165fc 100644
--- a/net-libs/libpcap/libpcap-9999.ebuild
+++ b/net-libs/libpcap/libpcap-9999.ebuild
@@ -38,7 +38,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        dbus? ( virtual/pkgconfig )
 "
 

diff --git a/net-libs/libsmi/libsmi-0.5.0-r5.ebuild 
b/net-libs/libsmi/libsmi-0.5.0-r5.ebuild
index 91ae311eaa6e..69baf3c24948 100644
--- a/net-libs/libsmi/libsmi-0.5.0-r5.ebuild
+++ b/net-libs/libsmi/libsmi-0.5.0-r5.ebuild
@@ -17,7 +17,7 @@ RESTRICT="test"
 # libsmi-0.5.0-implicit-function-declarations.patch touches parser
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild 
b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild
index b43bb405d524..1e43f9295b10 100644
--- a/net-libs/libtrace/libtrace-4.0.18_p1.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.18_p1.ebuild
@@ -28,7 +28,7 @@ BDEPEND="app-doc/doxygen[dot]
        sys-devel/flex
        virtual/os-headers
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.0.18_p1-build-system.patch

diff --git a/net-libs/libtrace/libtrace-4.0.19_p1.ebuild 
b/net-libs/libtrace/libtrace-4.0.19_p1.ebuild
index 744613536b3f..aea6acf8b4b6 100644
--- a/net-libs/libtrace/libtrace-4.0.19_p1.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.19_p1.ebuild
@@ -26,7 +26,7 @@ BDEPEND="app-doc/doxygen[dot]
        sys-devel/flex
        virtual/os-headers
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_prepare() {
        default

diff --git a/net-libs/libtrace/libtrace-4.0.20.ebuild 
b/net-libs/libtrace/libtrace-4.0.20.ebuild
index fcc866df083d..65e246ac3b1e 100644
--- a/net-libs/libtrace/libtrace-4.0.20.ebuild
+++ b/net-libs/libtrace/libtrace-4.0.20.ebuild
@@ -30,7 +30,7 @@ BDEPEND="
        sys-devel/flex
        virtual/os-headers
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 src_prepare() {

diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild 
b/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild
index fd888906a05d..84009a8c6375 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.3-r2.ebuild
@@ -67,7 +67,7 @@ RDEPEND="${DEPEND}
 DEPEND+=" test? ( dev-util/cunit )"
 BDEPEND="sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 REQUIRED_USE="afs? ( kerberos )
        backup? ( sqlite )

diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild 
b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild
index b1811815cfe3..33031ad0dced 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild
@@ -67,7 +67,7 @@ RDEPEND="${DEPEND}
 DEPEND+=" test? ( dev-util/cunit )"
 BDEPEND="sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 REQUIRED_USE="afs? ( kerberos )
        backup? ( sqlite )

diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild 
b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild
index 846882ec4516..15b1b131ef6f 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.4.ebuild
@@ -67,7 +67,7 @@ RDEPEND="${DEPEND}
 DEPEND+=" test? ( dev-util/cunit )"
 BDEPEND="sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 REQUIRED_USE="afs? ( kerberos )
        backup? ( sqlite )

diff --git a/net-misc/frr/frr-8.2.2.ebuild b/net-misc/frr/frr-8.2.2.ebuild
index 930f7303dc8f..d7a531a4bede 100644
--- a/net-misc/frr/frr-8.2.2.ebuild
+++ b/net-misc/frr/frr-8.2.2.ebuild
@@ -36,7 +36,7 @@ COMMON_DEPEND="
 BDEPEND="
        ~dev-util/clippy-${PV}
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        doc? ( dev-python/sphinx )
 "
 DEPEND="

diff --git a/net-misc/mrouted/mrouted-4.2.ebuild 
b/net-misc/mrouted/mrouted-4.2.ebuild
index 8db1215d3f2f..8f9f6aa61285 100644
--- a/net-misc/mrouted/mrouted-4.2.ebuild
+++ b/net-misc/mrouted/mrouted-4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/net-misc/mrouted/mrouted-4.4.ebuild 
b/net-misc/mrouted/mrouted-4.4.ebuild
index 97fd56dd2d0c..573500aacb93 100644
--- a/net-misc/mrouted/mrouted-4.4.ebuild
+++ b/net-misc/mrouted/mrouted-4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,7 +18,7 @@ IUSE="rsrr test"
 RESTRICT="!test? ( test ) test"
 
 BDEPEND="virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_configure() {
        tc-export CC CXX

diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild 
b/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild
index f1bdfc975450..11231a66647f 100644
--- a/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild
+++ b/net-misc/rwhoisd/rwhoisd-1.5.9.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ RDEPEND="
 "
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 src_compile() {

diff --git a/net-nntp/tin/tin-2.6.1.ebuild b/net-nntp/tin/tin-2.6.1.ebuild
index f3b5b58f1dcf..96afdff40fa7 100644
--- a/net-nntp/tin/tin-2.6.1.ebuild
+++ b/net-nntp/tin/tin-2.6.1.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 DOCS=(

diff --git a/profiles/updates/4Q-2022 b/profiles/updates/4Q-2022
index 656cb7d37e43..fd98594f3e43 100644
--- a/profiles/updates/4Q-2022
+++ b/profiles/updates/4Q-2022
@@ -11,3 +11,4 @@ move dev-python/libsass dev-python/libsass-python
 move dev-lang/open-cobol dev-lang/gnucobol
 move dev-python/miniupnpc dev-python/python-miniupnpc
 move virtual/awk app-alternatives/awk
+move virtual/yacc app-alternatives/yacc

diff --git a/sci-mathematics/genius/genius-1.0.27.ebuild 
b/sci-mathematics/genius/genius-1.0.27.ebuild
index 008be2dfce7f..52b5a93b2a5c 100644
--- a/sci-mathematics/genius/genius-1.0.27.ebuild
+++ b/sci-mathematics/genius/genius-1.0.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
        dev-util/intltool
        sys-devel/autoconf-archive
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 " # eautoreconf needs sys-devel/autoconf-archive
 # dev-util/gtk-update-icon-cache because configure checks for it for some 
reason and never calls it with DESTDIR set..
 

diff --git a/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild 
b/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild
index a43984b06906..301046562c6f 100644
--- a/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild
+++ b/sci-mathematics/giac/giac-1.7.0.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}"
 
 BDEPEND="dev-tex/hevea
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"

diff --git a/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild 
b/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild
index 6e7c236f37e3..5c24d8828a7a 100644
--- a/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild
+++ b/sci-mathematics/giac/giac-1.9.0.29-r1.ebuild
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}"
 
 BDEPEND="dev-tex/hevea
        virtual/pkgconfig
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"

diff --git a/sci-mathematics/spin/spin-6.5.2-r1.ebuild 
b/sci-mathematics/spin/spin-6.5.2-r1.ebuild
index 0e1f17681a7c..89ec50ed73ec 100644
--- a/sci-mathematics/spin/spin-6.5.2-r1.ebuild
+++ b/sci-mathematics/spin/spin-6.5.2-r1.ebuild
@@ -23,7 +23,7 @@ RDEPEND="sys-devel/gcc
                dev-lang/tk
                graphviz? ( media-gfx/graphviz )
        )"
-BDEPEND="virtual/yacc"
+BDEPEND="app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-6.5.2-makefile.patch

diff --git a/sys-apps/nawk/nawk-20180827-r1.ebuild 
b/sys-apps/nawk/nawk-20180827-r1.ebuild
index 3e5c1d65b36b..6f8b40a63ab9 100644
--- a/sys-apps/nawk/nawk-20180827-r1.ebuild
+++ b/sys-apps/nawk/nawk-20180827-r1.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
 
 DEPEND="
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 S="${WORKDIR}/awk-${PV}"

diff --git a/sys-apps/nawk/nawk-20220122-r1.ebuild 
b/sys-apps/nawk/nawk-20220122-r1.ebuild
index 34f6cf9af4a1..a28a79b2e788 100644
--- a/sys-apps/nawk/nawk-20220122-r1.ebuild
+++ b/sys-apps/nawk/nawk-20220122-r1.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
 
 DEPEND="
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 S="${WORKDIR}/awk-${PV}"

diff --git a/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild 
b/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild
index 2825fdaab0d3..d239df8bef73 100644
--- a/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild
+++ b/sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild
@@ -21,7 +21,7 @@ IUSE="debug staticsocket"
 
 RDEPEND="sys-apps/kmod[tools]"
 DEPEND="${RDEPEND}
-       virtual/yacc
+       app-alternatives/yacc
        sys-devel/flex"
 
 PATCHES=(

diff --git a/sys-devel/bc/bc-1.07.1-r4.ebuild b/sys-devel/bc/bc-1.07.1-r4.ebuild
index 82f798fc4f69..2ac2c73b3ded 100644
--- a/sys-devel/bc/bc-1.07.1-r4.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r4.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.07.1-no-ed-its-sed.patch )
 

diff --git a/sys-devel/bc/bc-1.07.1-r5.ebuild b/sys-devel/bc/bc-1.07.1-r5.ebuild
index 24a75264425a..78eefebc167f 100644
--- a/sys-devel/bc/bc-1.07.1-r5.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r5.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.07.1-no-ed-its-sed.patch )
 

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
index d3f797079c97..b8973ce5f5a5 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
@@ -64,7 +64,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild
index 733c9ae1bf5c..9bc8365ff2fb 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.38-r2.ebuild
@@ -65,7 +65,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild
index 01c6d25bfdf4..cd5af5b432c4 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.39-r4.ebuild
@@ -65,7 +65,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.32-r2.ebuild 
b/sys-devel/binutils/binutils-2.32-r2.ebuild
index 40db4705c2a9..d19fc5bc163c 100644
--- a/sys-devel/binutils/binutils-2.32-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.32-r2.ebuild
@@ -77,7 +77,7 @@ DEPEND="${RDEPEND}
        test? ( dev-util/dejagnu )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.33.1-r1.ebuild 
b/sys-devel/binutils/binutils-2.33.1-r1.ebuild
index 785ea17b6542..2fd7c51dacb2 100644
--- a/sys-devel/binutils/binutils-2.33.1-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.33.1-r1.ebuild
@@ -69,7 +69,7 @@ DEPEND="${RDEPEND}
        test? ( dev-util/dejagnu )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.34-r2.ebuild 
b/sys-devel/binutils/binutils-2.34-r2.ebuild
index c61503139101..f135644d0304 100644
--- a/sys-devel/binutils/binutils-2.34-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.34-r2.ebuild
@@ -70,7 +70,7 @@ BDEPEND="
        test? ( dev-util/dejagnu )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.35.2.ebuild 
b/sys-devel/binutils/binutils-2.35.2.ebuild
index cdb4d4b87ec3..88e1395e6322 100644
--- a/sys-devel/binutils/binutils-2.35.2.ebuild
+++ b/sys-devel/binutils/binutils-2.35.2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.36.1-r2.ebuild 
b/sys-devel/binutils/binutils-2.36.1-r2.ebuild
index faa27e272c6c..2231530b7f36 100644
--- a/sys-devel/binutils/binutils-2.36.1-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.36.1-r2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild 
b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
index 6ade635ea8fa..712f1d46b7a1 100644
--- a/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.37_p1-r2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.38-r2.ebuild 
b/sys-devel/binutils/binutils-2.38-r2.ebuild
index 658541bd3d7a..401310d2e924 100644
--- a/sys-devel/binutils/binutils-2.38-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.38-r2.ebuild
@@ -62,7 +62,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-2.39-r4.ebuild 
b/sys-devel/binutils/binutils-2.39-r4.ebuild
index 3ac03a449cb4..8a51b198d221 100644
--- a/sys-devel/binutils/binutils-2.39-r4.ebuild
+++ b/sys-devel/binutils/binutils-2.39-r4.ebuild
@@ -63,7 +63,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/binutils/binutils-9999.ebuild 
b/sys-devel/binutils/binutils-9999.ebuild
index 29f4e844ce60..7897167274ed 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -64,7 +64,7 @@ BDEPEND="
        )
        nls? ( sys-devel/gettext )
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 RESTRICT="!test? ( test )"

diff --git a/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild 
b/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild
index 4eea87b1c581..849d80e9c0e8 100644
--- a/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild
+++ b/sys-devel/elftoolchain/elftoolchain-0.7.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ BDEPEND="
        dev-vcs/subversion
        sys-apps/lsb-release
        >=sys-devel/bmake-20210314-r1
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
 

diff --git a/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild 
b/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild
index 5c427a1e2119..8d13d4a22fac 100644
--- a/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild
+++ b/sys-devel/elftoolchain/elftoolchain-0.7.1_p20210319.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,7 +26,7 @@ BDEPEND="
        dev-vcs/subversion
        sys-apps/lsb-release
        >=sys-devel/bmake-20210314-r1
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_prepare() {
        default

diff --git a/sys-devel/gdb/gdb-11.2.ebuild b/sys-devel/gdb/gdb-11.2.ebuild
index bbd5cfa1a8b3..4cf33173d0ba 100644
--- a/sys-devel/gdb/gdb-11.2.ebuild
+++ b/sys-devel/gdb/gdb-11.2.ebuild
@@ -87,7 +87,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        app-arch/xz-utils
        sys-apps/texinfo
-       virtual/yacc
+       app-alternatives/yacc
        nls? ( sys-devel/gettext )
        source-highlight? ( virtual/pkgconfig )
        test? ( dev-util/dejagnu )

diff --git a/sys-devel/gdb/gdb-12.1-r2.ebuild b/sys-devel/gdb/gdb-12.1-r2.ebuild
index 8992645e4700..b4bf3d0ae2c9 100644
--- a/sys-devel/gdb/gdb-12.1-r2.ebuild
+++ b/sys-devel/gdb/gdb-12.1-r2.ebuild
@@ -88,7 +88,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        app-arch/xz-utils
        sys-apps/texinfo
-       virtual/yacc
+       app-alternatives/yacc
        nls? ( sys-devel/gettext )
        source-highlight? ( virtual/pkgconfig )
        test? ( dev-util/dejagnu )

diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
index 6bf40e5071f6..940f57beb14b 100644
--- a/sys-devel/gdb/gdb-9999.ebuild
+++ b/sys-devel/gdb/gdb-9999.ebuild
@@ -85,7 +85,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        app-arch/xz-utils
        sys-apps/texinfo
-       virtual/yacc
+       app-alternatives/yacc
        nls? ( sys-devel/gettext )
        source-highlight? ( virtual/pkgconfig )
        test? ( dev-util/dejagnu )

diff --git a/sys-fs/lde/lde-2.6.1-r2.ebuild b/sys-fs/lde/lde-2.6.1-r2.ebuild
index c0b1f4584101..615ff025c460 100644
--- a/sys-fs/lde/lde-2.6.1-r2.ebuild
+++ b/sys-fs/lde/lde-2.6.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ RDEPEND="sys-libs/ncurses:0="
 DEPEND="${RDEPEND}"
 BDEPEND="
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 S="${WORKDIR}/${PN}"

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild
index dcef0abe1c6b..8f9a87c041fc 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.153.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild
index 68c76733c6d6..7d5170bdeef7 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.155.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild
index 2c7bd7e68a84..ed83530eaf90 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.156.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild
index 93026dac75dc..7745a774a549 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.77.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild
index b8881b6e8b6a..cb9e8972e872 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild
index b45778f8f355..2322046c58be 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.80.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild
index 7d29184e6c6b..9633b9065aaf 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.223.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild
index 7c3bf64cd0e3..bcb056d69b17 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.224.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild
index 7d29184e6c6b..9633b9065aaf 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.225.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild
index 2b0e14e98e55..2f8f3d790587 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.10.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild 
b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild
index e26c02363e05..480f0764cb5f 100644
--- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.9.ebuild
@@ -47,7 +47,7 @@ BDEPEND="
        sys-devel/bc
        sys-devel/flex
        virtual/libelf
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 QA_PREBUILT='*'

diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild 
b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
index dfc17a6f05f2..7a85dd0848ee 100644
--- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild
+++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        app-arch/xz-utils
        sys-apps/texinfo
-       virtual/yacc"
+       app-alternatives/yacc"
 
 CONFIG_CHECK="~INPUT_MOUSEDEV"
 ERROR_INPUT_MOUSEDEV="CONFIG_INPUT_MOUSEDEV:\tis not set (required to expose 
mice for GPM)"

diff --git a/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild 
b/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild
index 7e699daf0805..7eb5dc7dca59 100644
--- a/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild
+++ b/sys-libs/pam/pam-1.5.1_p20210622-r1.ebuild
@@ -28,7 +28,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 DEPEND="

diff --git a/sys-libs/pam/pam-1.5.2-r2.ebuild b/sys-libs/pam/pam-1.5.2-r2.ebuild
index 5a8c46443f0d..a0d259a65eed 100644
--- a/sys-libs/pam/pam-1.5.2-r2.ebuild
+++ b/sys-libs/pam/pam-1.5.2-r2.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 DEPEND="

diff --git a/sys-libs/pam/pam-1.5.2-r3.ebuild b/sys-libs/pam/pam-1.5.2-r3.ebuild
index f2636469a82f..22d06731eb31 100644
--- a/sys-libs/pam/pam-1.5.2-r3.ebuild
+++ b/sys-libs/pam/pam-1.5.2-r3.ebuild
@@ -27,7 +27,7 @@ BDEPEND="
        sys-devel/flex
        sys-devel/gettext
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 DEPEND="

diff --git a/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild 
b/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
index 9422c8a85e3b..36f5efb6e7d2 100644
--- a/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
+++ b/x11-libs/libXaw3d/libXaw3d-1.6.3.ebuild
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
        x11-base/xorg-proto"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_configure() {
        local XORG_CONFIGURE_OPTIONS=(

diff --git a/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild 
b/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild
index f3d3365ade7b..032377e118bd 100644
--- a/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild
+++ b/x11-libs/libXaw3d/libXaw3d-1.6.4.ebuild
@@ -21,7 +21,7 @@ DEPEND="${RDEPEND}
        x11-base/xorg-proto"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 src_configure() {
        local XORG_CONFIGURE_OPTIONS=(

diff --git a/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild 
b/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild
index d42b0426bbdf..4a9c785231d8 100644
--- a/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild
+++ b/x11-libs/libXaw3dXft/libXaw3dXft-1.6.2h.ebuild
@@ -23,7 +23,7 @@ DEPEND="${RDEPEND}
        x11-base/xorg-proto"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc
+       app-alternatives/yacc
        x11-misc/util-macros"
 
 QA_PKGCONFIG_VERSION="${PV//[!0-9.]}"

diff --git a/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild 
b/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
index db8f5d2fd8ee..8c84f2ff0848 100644
--- a/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
+++ b/x11-libs/neXtaw/neXtaw-0.15.1-r4.ebuild
@@ -27,7 +27,7 @@ DEPEND="
        x11-base/xorg-proto"
 BDEPEND="
        sys-devel/flex
-       virtual/yacc"
+       app-alternatives/yacc"
 
 PATCHES=(
        "${FILESDIR}"/${P}-clang16.patch

diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild 
b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild
index 79c38b08340e..883b6172ce89 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202-r1.ebuild
@@ -29,7 +29,7 @@ BDEPEND="
        sys-apps/texinfo
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild 
b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
index 9f5e5fba792a..b8ba2773c503 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
@@ -21,7 +21,7 @@ DEPEND="
        sys-apps/texinfo
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 PATCHES=(
        "${FILESDIR}"/${PN}-0.8.3-fno-common.patch

diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild 
b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
index 79c38b08340e..883b6172ce89 100644
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
@@ -29,7 +29,7 @@ BDEPEND="
        sys-apps/texinfo
        sys-devel/flex
        virtual/pkgconfig
-       virtual/yacc
+       app-alternatives/yacc
 "
 
 PATCHES=(

Reply via email to