summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-10-22 01:51:12 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-10-22 01:51:12 -0400
commitb10d8c99a50a6f8700138472c3b822e732eae10c (patch)
treee35ec61f2f9b42e1b1498f5a2e30218e6e2be931 /dev-qt
parentdev-qt/qttools: set llvm_check_deps (diff)
downloadgentoo-b10d8c99a50a6f8700138472c3b822e732eae10c.tar.gz
gentoo-b10d8c99a50a6f8700138472c3b822e732eae10c.tar.bz2
gentoo-b10d8c99a50a6f8700138472c3b822e732eae10c.zip
dev-qt/qt-creator: set llvm_check_deps
Forgot, albeit typically not an issue unless someone has an extra llvm slot without clang. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qt-creator/qt-creator-11.0.3.ebuild4
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/dev-qt/qt-creator/qt-creator-11.0.3.ebuild b/dev-qt/qt-creator/qt-creator-11.0.3.ebuild
index 881578f8093b..089d5576fdc9 100644
--- a/dev-qt/qt-creator/qt-creator-11.0.3.ebuild
+++ b/dev-qt/qt-creator/qt-creator-11.0.3.ebuild
@@ -84,6 +84,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-11.0.2-musl-no-malloc-trim.patch
)
+llvm_check_deps() {
+ has_version -d "sys-devel/clang:${LLVM_SLOT}"
+}
+
pkg_setup() {
python-any-r1_pkg_setup
use clang && llvm_pkg_setup
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 4c93ab7cdebc..2680f1244fe9 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -84,6 +84,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-11.0.2-musl-no-malloc-trim.patch
)
+llvm_check_deps() {
+ has_version -d "sys-devel/clang:${LLVM_SLOT}"
+}
+
pkg_setup() {
python-any-r1_pkg_setup
use clang && llvm_pkg_setup