commit:     dc7702b045941e0ea91a0e1af69afff094b2395f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 15:32:45 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 15:52:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc7702b0

sys-devel/llvm: Try fixing doc build for 11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/llvm/llvm-11.0.0.9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-devel/llvm/llvm-11.0.0.9999.ebuild 
b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
index 087e2736708..08addcf459d 100644
--- a/sys-devel/llvm/llvm-11.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
@@ -183,7 +183,9 @@ src_prepare() {
 
        # manpages don't use markdown
        if ! use doc; then
-               sed -i -e "s:, 'recommonmark'::" docs/conf.py || die
+               sed -e "s:, 'recommonmark'::" \
+                       -e '/markdown/d' \
+                       -i docs/conf.py || die
        fi
 
        # Verify that the live ebuild is up-to-date

Reply via email to