diff options
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" |