commit:     ec3e612bac8bdb6e031eb3335c27cba4ccd11dcd
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 27 23:22:13 2026 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Feb 27 23:26:39 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec3e612b

sys-kernel/dracut: drop 'man' USE flag

Violates QA policy.

Closes: https://bugs.gentoo.org/970670
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../{dracut-110-r1.ebuild => dracut-110-r2.ebuild}     | 18 +++++++-----------
 sys-kernel/dracut/dracut-9999.ebuild                   | 18 +++++++-----------
 2 files changed, 14 insertions(+), 22 deletions(-)

diff --git a/sys-kernel/dracut/dracut-110-r1.ebuild 
b/sys-kernel/dracut/dracut-110-r2.ebuild
similarity index 97%
rename from sys-kernel/dracut/dracut-110-r1.ebuild
rename to sys-kernel/dracut/dracut-110-r2.ebuild
index c4031c3873bb..95c6ead64763 100644
--- a/sys-kernel/dracut/dracut-110-r1.ebuild
+++ b/sys-kernel/dracut/dracut-110-r2.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="dracut-cpio man selinux systemd test"
+IUSE="dracut-cpio selinux systemd test"
 RESTRICT="test"
 PROPERTIES="test? ( test_privileged test_network )"
 
@@ -57,15 +57,15 @@ DEPEND="${COMMON_DEPEND}
 "
 
 BDEPEND="
+       || (
+               app-text/asciidoc
+               dev-ruby/asciidoctor
+       )
        app-text/docbook-xml-dtd:4.5
        >=app-text/docbook-xsl-stylesheets-1.75.2
        >=dev-libs/libxslt-1.1.26
        virtual/pkgconfig
        dracut-cpio? ( ${RUST_DEPEND} )
-       man? ( || (
-               app-text/asciidoc
-               dev-ruby/asciidoctor
-       ) )
        test? (
                net-nds/rpcbind
                net-fs/nfs-utils
@@ -122,12 +122,8 @@ src_configure() {
                --systemdsystemunitdir="$(systemd_get_systemunitdir)"
        )
 
-       if use man; then
-               if ! has_version -b dev-ruby/asciidoctor; then
-                       myconf+=( --disable-asciidoctor )
-               fi
-       else
-               myconf+=( --disable-documentation )
+       if ! has_version -b dev-ruby/asciidoctor; then
+               myconf+=( --disable-asciidoctor )
        fi
 
        # this emulates what the build system would be doing without us

diff --git a/sys-kernel/dracut/dracut-9999.ebuild 
b/sys-kernel/dracut/dracut-9999.ebuild
index c4031c3873bb..95c6ead64763 100644
--- a/sys-kernel/dracut/dracut-9999.ebuild
+++ b/sys-kernel/dracut/dracut-9999.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="dracut-cpio man selinux systemd test"
+IUSE="dracut-cpio selinux systemd test"
 RESTRICT="test"
 PROPERTIES="test? ( test_privileged test_network )"
 
@@ -57,15 +57,15 @@ DEPEND="${COMMON_DEPEND}
 "
 
 BDEPEND="
+       || (
+               app-text/asciidoc
+               dev-ruby/asciidoctor
+       )
        app-text/docbook-xml-dtd:4.5
        >=app-text/docbook-xsl-stylesheets-1.75.2
        >=dev-libs/libxslt-1.1.26
        virtual/pkgconfig
        dracut-cpio? ( ${RUST_DEPEND} )
-       man? ( || (
-               app-text/asciidoc
-               dev-ruby/asciidoctor
-       ) )
        test? (
                net-nds/rpcbind
                net-fs/nfs-utils
@@ -122,12 +122,8 @@ src_configure() {
                --systemdsystemunitdir="$(systemd_get_systemunitdir)"
        )
 
-       if use man; then
-               if ! has_version -b dev-ruby/asciidoctor; then
-                       myconf+=( --disable-asciidoctor )
-               fi
-       else
-               myconf+=( --disable-documentation )
+       if ! has_version -b dev-ruby/asciidoctor; then
+               myconf+=( --disable-asciidoctor )
        fi
 
        # this emulates what the build system would be doing without us

Reply via email to