summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2020-05-18 22:53:02 -0400
committerJason A. Donenfeld <zx2c4@gentoo.org>2020-06-25 01:11:06 -0600
commit37557644b260b973e4cb84f2afe4d6eb63e62ab1 (patch)
treecb9fbc32bfb3f238ed1f48ffbda5fbfdc1a4022d /dev-qt/qt-creator
parentdev-qt/qt-creator: Add dev-qt/qtquicktimeline to rdeps (diff)
downloadgentoo-37557644b260b973e4cb84f2afe4d6eb63e62ab1.tar.gz
gentoo-37557644b260b973e4cb84f2afe4d6eb63e62ab1.tar.bz2
gentoo-37557644b260b973e4cb84f2afe4d6eb63e62ab1.zip
dev-qt/qt-creator: Pass the correct clang stot
Add llvm_check_deps to check for the right clang slot. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'dev-qt/qt-creator')
-rw-r--r--dev-qt/qt-creator/qt-creator-9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
index 08bc2d1eb312..3f09133f6ee3 100644
--- a/dev-qt/qt-creator/qt-creator-9999.ebuild
+++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
@@ -112,6 +112,10 @@ unset x
PATCHES=( "${FILESDIR}"/${PN}-4.12.0-dylib-fix.patch )
+llvm_check_deps() {
+ has_version -d "sys-devel/clang:${LLVM_SLOT}"
+}
+
pkg_setup() {
use clang && llvm_pkg_setup
}