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

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
Jeroen Roovers
2017-10-17 22:19:45 +02:00
parent f767b9dd8d
commit 8aed523dd2

View File

@@ -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