Skip to content

Commit

Permalink
cuda.eclass: Attempt to fix unconditional dependency
Browse files Browse the repository at this point in the history
on dev-util/nvidia-cuda-toolkit

Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed Oct 17, 2018
1 parent 7fc75e3 commit 265de2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/cuda.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 265de2b

Please sign in to comment.