diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-10-17 09:42:36 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-10-17 09:42:36 +0200 |
commit | 265de2bb6c7ac88e9bda8792c4b87954d1ed1b11 (patch) | |
tree | f5883d12a9744c62a1f373e6e876c2683a6ecbde | |
parent | app-crypt/gpa: version bump (diff) | |
download | gentoo-265de2bb6c7ac88e9bda8792c4b87954d1ed1b11.tar.gz gentoo-265de2bb6c7ac88e9bda8792c4b87954d1ed1b11.tar.bz2 gentoo-265de2bb6c7ac88e9bda8792c4b87954d1ed1b11.zip |
cuda.eclass: Attempt to fix unconditional dependency
on dev-util/nvidia-cuda-toolkit
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r-- | eclass/cuda.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index b78e6514d966..4c15c2bb0560 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -42,9 +42,9 @@ inherit flag-o-matic toolchain-funcs : ${CUDA_VERBOSE:=true} if [[ ${PN} != "nvidia-cuda-toolkit" ]]; then -DEPEND="dev-util/nvidia-cuda-toolkit" +DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )" if [[ ${EAPI} != [56] ]]; then - BDEPEND="dev-util/nvidia-cuda-toolkit" + BDEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )" fi fi |