commit:     c19cd9a609d2b7f5e70a114899fd71f8e32a124e
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Wed Feb  5 15:02:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 16:40:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19cd9a6

toolchain.eclass: fix typo sys-devel/ -> llvm-core/

Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40452
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index fb8ebedd9de3..f203e32a0450 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2972,7 +2972,7 @@ toolchain_pkg_postrm() {
                return 0
        else
                # Removed the last GCC installed (bug #906040)
-               if ! has_version "sys-devel/gcc" && has_version 
"sys-devel/clang" ; then
+               if ! has_version "sys-devel/gcc" && has_version 
"llvm-core/clang" ; then
                        einfo "Last GCC version removed. Cleaning up 
${EROOT}/etc/clang/gentoo-gcc-install.cfg."
                        echo > "${EROOT}"/etc/clang/gentoo-gcc-install.cfg
                fi

Reply via email to