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
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')
-rw-r--r--games-misc/fortune-mod-kernelcookies/files/9-offensive.patch4
-rw-r--r--games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild12
2 files changed, 8 insertions, 8 deletions
diff --git a/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch b/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
index 0ba0ee128907..cc66a2afbee5 100644
--- a/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
+++ b/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
@@ -1,5 +1,5 @@
---- kernelcookies
-+++ kernelcookies
+--- a/kernelcookies
++++ b/kernelcookies
@@ -1,42 +1,3 @@
-/* Only Sun can take such nice parts and fuck up the programming interface
- * like this. Good job guys...
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 ef3ab273cb8b..72de0e5553e3 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
}