diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild index a83af254454a..003272cc9eec 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild,v 1.2 2012/11/18 11:18:17 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-304.64.ebuild,v 1.3 2012/12/11 15:20:56 ssuominen Exp $ EAPI=4 inherit eutils flag-o-matic linux-info linux-mod multilib nvidia-driver \ - portability toolchain-funcs unpacker user versionator + portability toolchain-funcs unpacker user versionator udev X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}" AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}" @@ -230,15 +230,11 @@ src_install() { insinto /etc/modprobe.d newins "${WORKDIR}"/nvidia nvidia.conf || die - local udevdir=/lib/udev - has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - # Ensures that our device nodes are created when not using X - exeinto "${udevdir}" + exeinto "$(udev_get_udevdir)" doexe "${FILESDIR}"/nvidia-udev.sh + udev_newrules "${FILESDIR}"/nvidia.udev-rule 99-nvidia.rules - insinto "${udevdir}"/rules.d - newins "${FILESDIR}"/nvidia.udev-rule 99-nvidia.rules elif use kernel_FreeBSD; then if use x86-fbsd; then insinto /boot/modules |