diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r1.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r1.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r1.ebuild index 33342e4c716a..efc890c088a7 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \ - nvidia-driver portability toolchain-funcs unpacker user udev + nvidia-driver portability toolchain-funcs unpacker udev DESCRIPTION="NVIDIA Accelerated Graphics Driver" HOMEPAGE="https://www.nvidia.com/" @@ -26,7 +26,7 @@ KEYWORDS="-* amd64" LICENSE="GPL-2 NVIDIA-r2" SLOT="0/${PV%.*}" -IUSE="acpi compat +driver gtk3 kernel_FreeBSD kernel_linux +kms libglvnd multilib static-libs +tools uvm wayland +X" +IUSE="acpi compat +driver gtk3 kernel_FreeBSD kernel_linux +kms +libglvnd multilib static-libs +tools uvm wayland +X" REQUIRED_USE=" tools? ( X ) static-libs? ( tools ) @@ -34,6 +34,7 @@ REQUIRED_USE=" COMMON=" app-eselect/eselect-opencl + driver? ( kernel_linux? ( acct-group/video ) ) kernel_linux? ( >=sys-libs/glibc-2.6.1 ) tools? ( dev-libs/atk @@ -505,7 +506,7 @@ pkg_preinst() { if use driver && use kernel_linux; then linux-mod_pkg_preinst - local videogroup="$(egetent group video | cut -d ':' -f 3)" + local videogroup="$(getent group video | cut -d ':' -f 3)" if [ -z "${videogroup}" ]; then eerror "Failed to determine the video group gid" die "Failed to determine the video group gid" |