From 37068f1727b2e446d8d25b9fdbae095b9ccaf228 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 24 Oct 2020 15:20:49 +0200 Subject: sys-apps/cpint: Port to EAPI 7 Closes: https://bugs.gentoo.org/742107 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: David Seifert --- sys-apps/cpint/cpint-2.5.3.ebuild | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'sys-apps/cpint/cpint-2.5.3.ebuild') diff --git a/sys-apps/cpint/cpint-2.5.3.ebuild b/sys-apps/cpint/cpint-2.5.3.ebuild index 3d76a21d7aa4..b37f49d86e9e 100644 --- a/sys-apps/cpint/cpint-2.5.3.ebuild +++ b/sys-apps/cpint/cpint-2.5.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit linux-info eutils +inherit linux-info MY_PV=${PV//./} @@ -14,12 +14,15 @@ SRC_URI="http://linuxvm.org/Patches/s390/${PN}${MY_PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="s390" -IUSE="" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-prototypes.patch + "${FILESDIR}"/${P}-kernel.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - epatch "${FILESDIR}"/${P}-prototypes.patch - epatch "${FILESDIR}"/${P}-kernel.patch + default # the makefile uses this variable export KERNEL_DIR -- cgit v1.2.3-18-g5258