summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
index 6edee379..3bc81f59 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-384.111-r1.ebuild
@@ -96,7 +96,7 @@ nvidia_drivers_versions_check() {
use x86 && CONFIG_CHECK+=" ~HIGHMEM"
# Now do the above checks
- use kernel_linux && check_extra_config
+ check_extra_config
}
pkg_pretend() {
@@ -124,9 +124,6 @@ src_prepare() {
gunzip $man_file || die
done
- # Allow user patches so they can support RC kernels and whatever else
- eapply_user
-
if ! [ -f nvidia_icd.json ]; then
cp nvidia_icd.json.template nvidia_icd.json || die
sed -i -e 's:__NV_VK_ICD__:libGLX_nvidia.so.0:g' nvidia_icd.json || die
@@ -300,9 +297,7 @@ src_install() {
newins \
nvidia-application-profiles-${PV}-rc nvidia-application-profiles-rc
- # There is no icon in the FreeBSD tarball.
- use kernel_FreeBSD || \
- doicon ${NV_OBJ}/nvidia-settings.png
+ doicon ${NV_OBJ}/nvidia-settings.png
domenu "${FILESDIR}"/nvidia-settings.desktop