summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 05:46:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 05:46:19 +0000
commitee53924818259dc420f4d9ece59ca88715b6a3b9 (patch)
tree2d5d5fe18f0fce6da1adb6d4d030b327168c15ed
parentfc000e530b451ade12408867c3f599f0be5b423b (diff)
x11-drivers/nvidia-drivers : fix ebuild
-rw-r--r--sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-conf.patch2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-384.111.ebuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-conf.patch b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-conf.patch
index 01052415..e620e19f 100644
--- a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-conf.patch
+++ b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-384.111-conf.patch
@@ -5,7 +5,7 @@ diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
-PACKAGE_NAME="nvidia"
-PACKAGE_VERSION="__VERSION_STRING"
+PACKAGE_NAME="nvidia-drivers-dkms"
-+PACKAGE_VERSION="384.98"
++PACKAGE_VERSION="384.1111"
AUTOINSTALL="yes"
# By default, DKMS will add KERNELRELEASE to the make command line; however,
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-384.111.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-384.111.ebuild
index 70351d71..218a2077 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-384.111.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-384.111.ebuild
@@ -384,7 +384,7 @@ src_install() {
fi
if use tools; then
- emake -C "${S}"/nvidia-settings-${PV}/src/ \
+ emake -C "${S}"/nvidia-settings-${NV_TOOLS_PV}/src/ \
DESTDIR="${D}" \
GTK3_AVAILABLE=$(usex gtk3 1 0) \
LIBDIR="${D}/usr/$(get_libdir)" \
@@ -395,10 +395,10 @@ src_install() {
install
if use static-libs; then
- dolib.a "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/libXNVCtrl.a
+ dolib.a "${S}"/nvidia-settings-${NV_TOOLS_PV}/src/libXNVCtrl/libXNVCtrl.a
insinto /usr/include/NVCtrl
- doins "${S}"/nvidia-settings-${PV}/src/libXNVCtrl/*.h
+ doins "${S}"/nvidia-settings-${NV_TOOLS_PV}/src/libXNVCtrl/*.h
fi
insinto /usr/share/nvidia/