From ffd6ca3d2ef5a916401a9d2f2ef868dc7cc41ce5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 19 Jul 2022 07:47:50 +0100 Subject: sys-kernel/dkms : patch EAPI7 way --- sys-kernel/dkms/dkms-2.3-r2.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'sys-kernel/dkms/dkms-2.3-r2.ebuild') diff --git a/sys-kernel/dkms/dkms-2.3-r2.ebuild b/sys-kernel/dkms/dkms-2.3-r2.ebuild index a89e5107..dd961b41 100644 --- a/sys-kernel/dkms/dkms-2.3-r2.ebuild +++ b/sys-kernel/dkms/dkms-2.3-r2.ebuild @@ -13,13 +13,12 @@ RDEPEND="sys-apps/gentoo-functions" KEYWORDS="amd64 arm64" SLOT="0" -src_prepare() { - default - epatch ${FILESDIR}/${P}-dont-touch-configs.patch - epatch ${FILESDIR}/${P}-gentoo-functions.patch - epatch ${FILESDIR}/${P}-systemd-service-fix.patch - epatch ${FILESDIR}/${P}-redcore-makefile.patch -} +PATCHES=( + "${FILESDIR}"/"${P}"-dont-touch-configs.patch + "${FILESDIR}"/"${P}"-gentoo-functions.patch + "${FILESDIR}"/"${P}"-systemd-service-fix.patch + "${FILESDIR}"/"${P}"-redcore-makefile.patch +) src_install() { emake DESTDIR=${D} install -- cgit v1.2.3