From 781bc3c6de87f81480e0acdce3f1b66f415855f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 8 Jun 2020 10:38:18 +0200 Subject: [PATCH] dev-util/creduce: Port to cmake.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../creduce/creduce-2.11.0_pre20191110.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-util/creduce/creduce-2.11.0_pre20191110.ebuild b/dev-util/creduce/creduce-2.11.0_pre20191110.ebuild index ade291feb3173..4bf63cd40869a 100644 --- a/dev-util/creduce/creduce-2.11.0_pre20191110.ebuild +++ b/dev-util/creduce/creduce-2.11.0_pre20191110.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 : ${CMAKE_MAKEFILE_GENERATOR=ninja} -inherit cmake-utils llvm +inherit cmake llvm EGIT_COMMIT="2a4480eb6cb72b3d2d131b536c883cc6d41bdcaa" DESCRIPTION="C-Reduce - a plugin-based C program reducer" @@ -19,15 +19,16 @@ IUSE="" LLVM_MAX_SLOT=9 -COMMON_DEPEND=" - >=dev-lang/perl-5.10.0 +DEPEND=" sys-devel/clang:${LLVM_MAX_SLOT}" -RDEPEND="${COMMON_DEPEND} +RDEPEND="${DEPEND} + >=dev-lang/perl-5.10.0 dev-perl/Exporter-Lite dev-perl/File-Which dev-perl/Getopt-Tabular dev-perl/Regexp-Common" -DEPEND="${COMMON_DEPEND} +BDEPEND=" + >=dev-lang/perl-5.10.0 sys-devel/flex" PATCHES=(