diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2010-07-20 21:39:14 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2010-07-20 21:39:14 +0000 |
commit | 34b1d77537e1ba3de6059e22074d6451ec99c8d8 (patch) | |
tree | e1eae4420b4213c41894ef0da8338f5ab7687125 /x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-34b1d77537e1ba3de6059e22074d6451ec99c8d8.tar.gz gentoo-2-34b1d77537e1ba3de6059e22074d6451ec99c8d8.tar.bz2 gentoo-2-34b1d77537e1ba3de6059e22074d6451ec99c8d8.zip |
Conditionally install CUDA support if it was found in the package. Apparently 173.14.27 drops CUDA. fixes bug #328681
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild index 161a35855bc0..148ecde4e78c 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild,v 1.1 2010/07/16 20:28:53 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.27.ebuild,v 1.2 2010/07/20 21:39:14 cardoe Exp $ EAPI="2" @@ -327,7 +327,7 @@ src_install() { die "failed to create libXvMCNVIDIA.so symlink" # CUDA headers (driver to come) - if use kernel_linux; then + if use kernel_linux && [[ -d ${S}/usr/include/cuda ]]; then dodir /usr/include/cuda insinto /usr/include/cuda doins usr/include/cuda/*.h || die "failed to install cuda headers" |