summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-04 08:51:22 +0000
committerSam James <sam@gentoo.org>2021-04-04 09:15:48 +0000
commitca3f6596adb6a61da6e95a9c0c4e337530e423fc (patch)
tree6a928555e556eeafc567baa48706b5257e74dd0c /games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
parentgames-misc/fortune-mod-it: port to EAPI 7 (diff)
downloadgentoo-ca3f6596adb6a61da6e95a9c0c4e337530e423fc.tar.gz
gentoo-ca3f6596adb6a61da6e95a9c0c4e337530e423fc.tar.bz2
gentoo-ca3f6596adb6a61da6e95a9c0c4e337530e423fc.zip
games-misc/fortune-mod-kernelcookies: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild')
-rw-r--r--games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
index ef3ab273cb8..72de0e5553e 100644
--- a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
+++ b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils
+EAPI=7
DESCRIPTION="A collection of funny lines from the Linux kernel"
HOMEPAGE="http://www.schwarzvogel.de/software-misc.shtml"
SRC_URI="http://www.schwarzvogel.de/pkgs/kernelcookies-${PV}.tar.gz"
+S="${WORKDIR}"/kernelcookies-${PV}
LICENSE="GPL-2"
SLOT="0"
@@ -16,13 +16,13 @@ IUSE="offensive"
DEPEND="games-misc/fortune-mod"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/kernelcookies-${PV}
-
src_prepare() {
+ default
+
# bug #64985
if ! use offensive ; then
- rm -f *.dat
- epatch "${FILESDIR}"/${PV}-offensive.patch
+ rm -f *.dat || die
+ eapply "${FILESDIR}"/${PV}-offensive.patch
strfile -s kernelcookies || die
fi
}