commit: 8166a3690f925e6aafefab618b652e54abf49b89
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 15:53:23 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 15:53:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8166a369
dev-util/creduce: Sync the live ebuild
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-util/creduce/creduce-9999.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-util/creduce/creduce-9999.ebuild
b/dev-util/creduce/creduce-9999.ebuild
index b7accd15def..a6b6f66dbe3 100644
--- a/dev-util/creduce/creduce-9999.ebuild
+++ b/dev-util/creduce/creduce-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -17,9 +17,11 @@ SLOT="0"
KEYWORDS=""
IUSE=""
+LLVM_MAX_SLOT=7
+
COMMON_DEPEND="
>=dev-lang/perl-5.10.0
- >=sys-devel/clang-4:="
+ sys-devel/clang:${LLVM_MAX_SLOT}"
RDEPEND="${COMMON_DEPEND}
dev-perl/Benchmark-Timer
dev-perl/Exporter-Lite
@@ -31,6 +33,10 @@ RDEPEND="${COMMON_DEPEND}
dev-util/indent"
DEPEND="${COMMON_DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/creduce-2.8.0-link-libs.patch
+)
+
llvm_check_deps() {
has_version "sys-devel/clang:${LLVM_SLOT}"
}