summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 07:47:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 07:47:50 +0100
commitffd6ca3d2ef5a916401a9d2f2ef868dc7cc41ce5 (patch)
tree67ced20905acc70229b77ace086e772086a51fab /sys-kernel
parentb121767110de52ee0be9454dc08d840874362f3b (diff)
sys-kernel/dkms : patch EAPI7 way
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/dkms/dkms-2.3-r2.ebuild13
1 files changed, 6 insertions, 7 deletions
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