summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-24 15:20:49 +0200
committerDavid Seifert <soap@gentoo.org>2020-10-24 15:20:49 +0200
commit37068f1727b2e446d8d25b9fdbae095b9ccaf228 (patch)
tree1e1b9afe05cfe7f3b583aa704c09cad4e173865f /sys-apps/cpint
parentsys-apps/netkit-base: Port to EAPI 7 (diff)
downloadgentoo-37068f1727b2e446d8d25b9fdbae095b9ccaf228.tar.gz
gentoo-37068f1727b2e446d8d25b9fdbae095b9ccaf228.tar.bz2
gentoo-37068f1727b2e446d8d25b9fdbae095b9ccaf228.zip
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 <soap@gentoo.org>
Diffstat (limited to 'sys-apps/cpint')
-rw-r--r--sys-apps/cpint/cpint-2.5.3.ebuild17
1 files changed, 10 insertions, 7 deletions
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