1 |
commit: 2b3c55005c9f091855e14b49e5f6e340ae2a949c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 21:28:03 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 12 21:21:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3c5500 |
7 |
|
8 |
dev-util/creduce: Require an LLVM slot with clang installed |
9 |
|
10 |
dev-util/creduce/creduce-9999.ebuild | 6 +++++- |
11 |
1 file changed, 5 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/dev-util/creduce/creduce-9999.ebuild b/dev-util/creduce/creduce-9999.ebuild |
14 |
index 34ca7641f73..b7accd15def 100644 |
15 |
--- a/dev-util/creduce/creduce-9999.ebuild |
16 |
+++ b/dev-util/creduce/creduce-9999.ebuild |
17 |
@@ -6,7 +6,7 @@ EAPI="6" |
18 |
EGIT_REPO_URI="https://github.com/csmith-project/${PN}" |
19 |
|
20 |
: ${CMAKE_MAKEFILE_GENERATOR=ninja} |
21 |
-inherit cmake-utils git-r3 |
22 |
+inherit cmake-utils git-r3 llvm |
23 |
|
24 |
DESCRIPTION="C-Reduce - a plugin-based C program reducer" |
25 |
HOMEPAGE="https://embed.cs.utah.edu/creduce/" |
26 |
@@ -30,3 +30,7 @@ RDEPEND="${COMMON_DEPEND} |
27 |
dev-util/astyle |
28 |
dev-util/indent" |
29 |
DEPEND="${COMMON_DEPEND}" |
30 |
+ |
31 |
+llvm_check_deps() { |
32 |
+ has_version "sys-devel/clang:${LLVM_SLOT}" |
33 |
+} |