commit:     2b3c55005c9f091855e14b49e5f6e340ae2a949c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 21:28:03 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 21:21:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3c5500

dev-util/creduce: Require an LLVM slot with clang installed

 dev-util/creduce/creduce-9999.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/creduce/creduce-9999.ebuild 
b/dev-util/creduce/creduce-9999.ebuild
index 34ca7641f73..b7accd15def 100644
--- a/dev-util/creduce/creduce-9999.ebuild
+++ b/dev-util/creduce/creduce-9999.ebuild
@@ -6,7 +6,7 @@ EAPI="6"
 EGIT_REPO_URI="https://github.com/csmith-project/${PN}";
 
 : ${CMAKE_MAKEFILE_GENERATOR=ninja}
-inherit cmake-utils git-r3
+inherit cmake-utils git-r3 llvm
 
 DESCRIPTION="C-Reduce - a plugin-based C program reducer"
 HOMEPAGE="https://embed.cs.utah.edu/creduce/";
@@ -30,3 +30,7 @@ RDEPEND="${COMMON_DEPEND}
        dev-util/astyle
        dev-util/indent"
 DEPEND="${COMMON_DEPEND}"
+
+llvm_check_deps() {
+       has_version "sys-devel/clang:${LLVM_SLOT}"
+}

Reply via email to