1 |
commit: 5d34bdafa5d535c203ea56acc65585eca70bf67e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 17 07:53:30 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 17 07:53:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d34bdaf |
7 |
|
8 |
Revert "cuda.eclass: Attempt to fix unconditional dependency" |
9 |
|
10 |
This reverts commit 265de2bb6c7ac88e9bda8792c4b87954d1ed1b11. |
11 |
|
12 |
Breaks packages not having IUSE="cuda" |
13 |
|
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
eclass/cuda.eclass | 4 ++-- |
17 |
1 file changed, 2 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass |
20 |
index 4c15c2bb056..b78e6514d96 100644 |
21 |
--- a/eclass/cuda.eclass |
22 |
+++ b/eclass/cuda.eclass |
23 |
@@ -42,9 +42,9 @@ inherit flag-o-matic toolchain-funcs |
24 |
: ${CUDA_VERBOSE:=true} |
25 |
|
26 |
if [[ ${PN} != "nvidia-cuda-toolkit" ]]; then |
27 |
-DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )" |
28 |
+DEPEND="dev-util/nvidia-cuda-toolkit" |
29 |
if [[ ${EAPI} != [56] ]]; then |
30 |
- BDEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )" |
31 |
+ BDEPEND="dev-util/nvidia-cuda-toolkit" |
32 |
fi |
33 |
fi |