summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
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