dev-util/creduce: Sync the live ebuild
authorMichał Górny <mgorny@gentoo.org>
Sun, 21 Apr 2019 15:53:23 +0000 (17:53 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 21 Apr 2019 15:53:23 +0000 (17:53 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/creduce/creduce-9999.ebuild

index b7accd15defa155135464f5c9172e499466d0803..a6b6f66dbe3204beee789db4de294ec938b1563a 100644 (file)
@@ -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}"
 }