From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- .../fortune-mod-kernelcookies-9.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild') 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 } -- cgit v1.2.3