summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87-r1.ebuild (renamed from sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild)18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87-r1.ebuild
index 63254a53..d9efede1 100644
--- a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild
+++ b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit eutils
@@ -21,20 +21,20 @@ IUSE=""
DEPEND="sys-kernel/dkms"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/kernel-4.16.patch
+ "${FILESDIR}"/kernel-4.19.patch
+ "${FILESDIR}"/"${P}"-conf.patch
+ "${FILESDIR}"/"${PV}"-vmf_insert_pfn.patch
+ "${FILESDIR}"/"${PV}"-ipmi_user.patch
+)
+
S="${WORKDIR}/${AMD64_NV_PACKAGE}"
src_unpack() {
sh ${DISTDIR}/${AMD64_NV_PACKAGE}.run --extract-only
}
-src_prepare() {
- epatch "${FILESDIR}"/kernel-4.16.patch
- epatch "${FILESDIR}"/kernel-4.19.patch
- epatch "${FILESDIR}"/"${P}"-conf.patch
- epatch "${FILESDIR}"/"${PV}"-vmf_insert_pfn.patch
- epatch "${FILESDIR}"/"${PV}"-ipmi_user.patch
-}
-
src_install() {
dodir usr/src/${P}
insinto usr/src/${P}