commit:     17a87a43efc1bafd17efa0a03d5c2af7178ff904
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat May  8 19:20:06 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat May  8 19:20:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a87a43

mail-client/thunderbird: check for sys-devel/llvm:$LLVM_SLOT in 
llvm_check_deps()

When we override llvm_check_deps(), we have to check for
sys-devel/llvm:$LLVM_SLOT on our own.

Bug: https://bugs.gentoo.org/788763
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-client/thunderbird/thunderbird-78.10.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mail-client/thunderbird/thunderbird-78.10.1.ebuild 
b/mail-client/thunderbird/thunderbird-78.10.1.ebuild
index b2bba3955d0..44fab69764a 100644
--- a/mail-client/thunderbird/thunderbird-78.10.1.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.10.1.ebuild
@@ -192,6 +192,11 @@ DEPEND="${CDEPEND}
 S="${WORKDIR}/${PN}-${PV%_*}"
 
 llvm_check_deps() {
+       if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then
+               ewarn "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM 
slot ${LLVM_SLOT} ..." >&2
+               return 1
+       fi
+
        if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
                ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM 
slot ${LLVM_SLOT} ..." >&2
                return 1

Reply via email to