From c19cd9a609d2b7f5e70a114899fd71f8e32a124e Mon Sep 17 00:00:00 2001 From: "Z. Liu" Date: Wed, 5 Feb 2025 23:02:39 +0800 Subject: [PATCH] toolchain.eclass: fix typo sys-devel/ -> llvm-core/ Signed-off-by: Z. Liu Closes: https://github.com/gentoo/gentoo/pull/40452 Signed-off-by: Sam James --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index fb8ebedd9de38..f203e32a04500 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