commit:     dad5846bf0759c94ac868f91648d1cf191c4e84b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  9 18:29:32 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  9 18:29:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dad5846b

net-news/newsboat: fix build

Closes: https://bugs.gentoo.org/947755
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-news/newsboat/newsboat-2.38.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/net-news/newsboat/newsboat-2.38.ebuild 
b/net-news/newsboat/newsboat-2.38.ebuild
index 8adbc0aac2bd..44bfe22ad0b3 100644
--- a/net-news/newsboat/newsboat-2.38.ebuild
+++ b/net-news/newsboat/newsboat-2.38.ebuild
@@ -67,12 +67,7 @@ src_prepare() {
        # for older lib versions.
        sed -i -e "s/^check_ssl_implementation$//g" config.sh || die
 
-       if use doc; then
-               local docdir="${WORKDIR}/${PN}-docs-${PV}"
-               mkdir doc/xhtml || die
-               mv "${docdir}"/*.1 doc || die
-               mv "${docdir}"/*.html doc/xhtml || die
-       else
+       if use !doc; then
                sed -i Makefile -e "s#^doc: .*#doc: doc/example-config#" || die
        fi
 }

Reply via email to