dev-qt/qttools: fix clang selection for >=6.9

Qt added new logic for clang selection where it iterates through
a list of supported version and always picks the most recent one
from that list ignoring the eclass.

May be a better way, but for now just remove the version check.

Does not seem to have been backported to 6.8, so leaving that
one alone.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-03-13 07:54:22 -04:00
parent aadfbdbe36
commit bccf210c44
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -62,6 +62,13 @@ DEPEND="
)
"
src_prepare() {
qt6-build_src_prepare
# qttools is picky about clang versions and ignores LLVM_SLOT
sed -i '/find_package/s/${VERSION}//' cmake/FindWrapLibClang.cmake || die
}
src_configure() {
use clang && llvm_chost_setup
+7
View File
@@ -62,6 +62,13 @@ DEPEND="
)
"
src_prepare() {
qt6-build_src_prepare
# qttools is picky about clang versions and ignores LLVM_SLOT
sed -i '/find_package/s/${VERSION}//' cmake/FindWrapLibClang.cmake || die
}
src_configure() {
use clang && llvm_chost_setup