summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild21
1 files changed, 5 insertions, 16 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild
index dcd56087f9a0..6fe987b10f00 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild,v 1.4 2013/09/13 14:29:12 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-319.49.ebuild,v 1.5 2013/10/12 15:14:41 jer Exp $
EAPI=5
@@ -361,6 +361,8 @@ src_install() {
fi
is_final_abi || die "failed to iterate through all ABIs"
+
+ readme.gentoo_create_doc
}
src_install-libs() {
@@ -423,21 +425,8 @@ pkg_postinst() {
use X && "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia
"${ROOT}"/usr/bin/eselect opencl set --use-old nvidia
- elog "You must be in the video group to use the NVIDIA device"
- elog "For more info, read the docs at"
- elog "http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6"
- elog
- elog "This ebuild installs a kernel module and X driver. Both must"
- elog "match explicitly in their version. This means, if you restart"
- elog "X, you must modprobe -r nvidia before starting it back up"
- elog
- elog "To use the NVIDIA GLX, run \"eselect opengl set nvidia\""
- elog
- elog "To use the NVIDIA CUDA/OpenCL, run \"eselect opencl set nvidia\""
- elog
- elog "NVIDIA has requested that any bug reports submitted have the"
- elog "output of nvidia-bug-report.sh included."
- elog
+ readme.gentoo_print_elog
+
if ! use X; then
elog "You have elected to not install the X.org driver. Along with"
elog "this the OpenGL libraries and VDPAU libraries were not"