summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-10-17 22:19:45 +0200
committerJeroen Roovers <jer@gentoo.org>2017-10-17 22:20:03 +0200
commit8aed523dd2c5dd380de14025c0c7e4fa937e4ee3 (patch)
treef062bd73a6432705500102208244901fdfc93a58 /x11-drivers
parentapp-misc/linux-logo: Removes redundant nls use flag in metadata. (diff)
downloadgentoo-8aed523dd2c5dd380de14025c0c7e4fa937e4ee3.tar.gz
gentoo-8aed523dd2c5dd380de14025c0c7e4fa937e4ee3.tar.bz2
gentoo-8aed523dd2c5dd380de14025c0c7e4fa937e4ee3.zip
x11-drivers/nvidia-drivers: Fix USE=-tools (bug #634026).
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild
index 4a8856fbf479..5974954b8d63 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild
@@ -82,9 +82,6 @@ RDEPEND="
"
QA_PREBUILT="opt/* usr/lib*"
S=${WORKDIR}/
-PATCHES=(
- "${FILESDIR}"/${P}-linker.patch
-)
nvidia_drivers_versions_check() {
if use amd64 && has_multilib_profile && \
@@ -191,7 +188,8 @@ src_prepare() {
gunzip $man_file || die
done
- # Allow user patches so they can support RC kernels and whatever else
+ use tools && eapply "${FILESDIR}"/${P}-linker.patch
+
default
if ! [ -f nvidia_icd.json ]; then