From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-979009-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8319A1396D9
	for <garchives@archives.gentoo.org>; Tue, 17 Oct 2017 20:20:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9F6892BC002;
	Tue, 17 Oct 2017 20:20:12 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 835832BC002
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Oct 2017 20:20:11 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B5A2233FE2A
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Oct 2017 20:20:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 33412807
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Oct 2017 20:20:05 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org>
Message-ID: <1508271603.8aed523dd2c5dd380de14025c0c7e4fa937e4ee3.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild
X-VCS-Directories: x11-drivers/nvidia-drivers/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 8aed523dd2c5dd380de14025c0c7e4fa937e4ee3
X-VCS-Branch: master
Date: Tue, 17 Oct 2017 20:20:05 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 523d73b5-8591-4dcc-a882-252060b49bf1
X-Archives-Hash: 9336130ac328adbebc83a57ca605aa6c

commit:     8aed523dd2c5dd380de14025c0c7e4fa937e4ee3
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 17 20:19:45 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Oct 17 20:20:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aed523d

x11-drivers/nvidia-drivers: Fix USE=-tools (bug #634026).

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 x11-drivers/nvidia-drivers/nvidia-drivers-387.12.ebuild | 6 ++----
 1 file 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 4a8856fbf47..5974954b8d6 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