commit:     615c3f47433f84628219a8fb54dd9835600069f5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 17:10:26 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 13:23:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615c3f47

llvm.org.eclass: Stop defaulting to +doc for 18+

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

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

diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass
index e3728a827710..ff10a4384789 100644
--- a/eclass/llvm.org.eclass
+++ b/eclass/llvm.org.eclass
@@ -268,17 +268,17 @@ llvm.org_set_globals() {
        fi
 
        if [[ ${LLVM_MANPAGES} ]]; then
+               IUSE+=" doc"
+
                # use pregenerated tarball if available
                local manpage_dist=$(llvm_manpage_get_dist)
                if [[ -n ${manpage_dist} ]]; then
-                       IUSE+=" doc"
                        SRC_URI+="
                                !doc? (
                                        
https://dev.gentoo.org/~mgorny/dist/llvm/${manpage_dist}
                                )
                        "
                else
-                       IUSE+=" +doc"
                        # NB: this is not always the correct dep but it does no 
harm
                        BDEPEND+=" dev-python/sphinx"
                fi

Reply via email to