From: Michał Górny Date: Fri, 30 Jun 2017 21:28:03 +0000 (+0200) Subject: dev-util/creduce: Require an LLVM slot with clang installed X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2b3c55005c9f091855e14b49e5f6e340ae2a949c;p=gentoo.git dev-util/creduce: Require an LLVM slot with clang installed --- diff --git a/dev-util/creduce/creduce-9999.ebuild b/dev-util/creduce/creduce-9999.ebuild index 34ca7641f734..b7accd15defa 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}" +}