Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/4] dev-util/creduce: Require an LLVM slot with clang installed
Date: Fri, 30 Jun 2017 21:37:20
Message-Id: 20170630213431.17767-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES] llvm.eclass: More flexible slot testing and fix to /usr/bin PATH prepending by "Michał Górny"
1 ---
2 dev-util/creduce/creduce-9999.ebuild | 6 +++++-
3 1 file changed, 5 insertions(+), 1 deletion(-)
4
5 diff --git a/dev-util/creduce/creduce-9999.ebuild b/dev-util/creduce/creduce-9999.ebuild
6 index 2e937d6c35e0..f22a1889c848 100644
7 --- a/dev-util/creduce/creduce-9999.ebuild
8 +++ b/dev-util/creduce/creduce-9999.ebuild
9 @@ -7,7 +7,7 @@ EGIT_REPO_URI="https://github.com/csmith-project/creduce
10 git://github.com/csmith-project/creduce"
11
12 : ${CMAKE_MAKEFILE_GENERATOR=ninja}
13 -inherit cmake-utils git-r3
14 +inherit cmake-utils git-r3 llvm
15
16 DESCRIPTION="C-Reduce - a plugin-based C program reducer"
17 HOMEPAGE="http://embed.cs.utah.edu/creduce/"
18 @@ -31,3 +31,7 @@ RDEPEND="${COMMON_DEPEND}
19 dev-util/astyle
20 dev-util/indent"
21 DEPEND="${COMMON_DEPEND}"
22 +
23 +llvm_check_deps() {
24 + has_version "sys-devel/clang:${LLVM_SLOT}"
25 +}
26 --
27 2.13.2