Gentoo Archives: gentoo-commits

From: "Jason A. Donenfeld" <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-creator/
Date: Thu, 25 Jun 2020 07:11:30
Message-Id: 1593069066.37557644b260b973e4cb84f2afe4d6eb63e62ab1.zx2c4@gentoo
1 commit: 37557644b260b973e4cb84f2afe4d6eb63e62ab1
2 Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
3 AuthorDate: Tue May 19 02:53:02 2020 +0000
4 Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 25 07:11:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37557644
7
8 dev-qt/qt-creator: Pass the correct clang stot
9
10 Add llvm_check_deps to check for the right clang slot.
11
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
14 Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
15
16 dev-qt/qt-creator/qt-creator-9999.ebuild | 4 ++++
17 1 file changed, 4 insertions(+)
18
19 diff --git a/dev-qt/qt-creator/qt-creator-9999.ebuild b/dev-qt/qt-creator/qt-creator-9999.ebuild
20 index 08bc2d1eb31..3f09133f6ee 100644
21 --- a/dev-qt/qt-creator/qt-creator-9999.ebuild
22 +++ b/dev-qt/qt-creator/qt-creator-9999.ebuild
23 @@ -112,6 +112,10 @@ unset x
24
25 PATCHES=( "${FILESDIR}"/${PN}-4.12.0-dylib-fix.patch )
26
27 +llvm_check_deps() {
28 + has_version -d "sys-devel/clang:${LLVM_SLOT}"
29 +}
30 +
31 pkg_setup() {
32 use clang && llvm_pkg_setup
33 }