summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-10 02:46:13 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-10 02:46:13 +0000
commitd362090620ee2c812ad94af0a94e9f335ee8ed62 (patch)
tree62b5eded82f995d7b8080ef2a350d8060a4844b7 /sys-kernel
parent02aaac86e9ea9ba142f6fa6319f99a3fcbb79e9d (diff)
x11-drivers/nvidia-drivers : apply the same patches as dkms package; sys-kernel/nvidia-drivers-dkms : upgrade to EAPI=6
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}