Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 557016
Collapse All | Expand All

(-)/usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-355.06.ebuild (-1 / +3 lines)
Lines 28-34 Link Here
28
RESTRICT="bindist mirror strip"
28
RESTRICT="bindist mirror strip"
29
EMULTILIB_PKG="true"
29
EMULTILIB_PKG="true"
30
30
31
IUSE="acpi multilib kernel_FreeBSD kernel_linux pax_kernel +tools gtk2 gtk3 +X"
31
IUSE="acpi multilib kernel_FreeBSD kernel_linux pax_kernel +tools gtk2 gtk3 +X uvm"
32
REQUIRED_USE="
32
REQUIRED_USE="
33
	tools? ( X || ( gtk2 gtk3 ) )
33
	tools? ( X || ( gtk2 gtk3 ) )
34
"
34
"
Lines 113-118 Link Here
113
113
114
	if use kernel_linux; then
114
	if use kernel_linux; then
115
		MODULE_NAMES="nvidia(video:${S}/kernel)"
115
		MODULE_NAMES="nvidia(video:${S}/kernel)"
116
		use uvm && MODULE_NAMES+=" nvidia-uvm(video:${S}/kernel)"
116
117
117
		# This needs to run after MODULE_NAMES (so that the eclass checks
118
		# This needs to run after MODULE_NAMES (so that the eclass checks
118
		# whether the kernel supports loadable modules) but before BUILD_PARAMS
119
		# whether the kernel supports loadable modules) but before BUILD_PARAMS
Lines 241-246 Link Here
241
		# pkg_preinst, see bug #491414
242
		# pkg_preinst, see bug #491414
242
		insinto /etc/modprobe.d
243
		insinto /etc/modprobe.d
243
		newins "${FILESDIR}"/nvidia-169.07 nvidia.conf
244
		newins "${FILESDIR}"/nvidia-169.07 nvidia.conf
245
		use uvm && doins "${FILESDIR}"/nvidia-uvm.conf
244
246
245
		# Ensures that our device nodes are created when not using X
247
		# Ensures that our device nodes are created when not using X
246
		exeinto "$(get_udevdir)"
248
		exeinto "$(get_udevdir)"

Return to bug 557016