summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2020-09-28 15:34:39 +0200
committerGuilherme Amadio <amadio@gentoo.org>2020-09-28 15:36:48 +0200
commit930ac7003c709d9974ee53fc2aea1b9c9e0db50d (patch)
tree839efe39076632fd01a215cac30e9ca8a1d1ba49 /dev-util/nvidia-cuda-toolkit
parentdev-cpp/aixlog: add new proxy maintainer (diff)
downloadgentoo-930ac7003c709d9974ee53fc2aea1b9c9e0db50d.tar.gz
gentoo-930ac7003c709d9974ee53fc2aea1b9c9e0db50d.tar.bz2
gentoo-930ac7003c709d9974ee53fc2aea1b9c9e0db50d.zip
dev-util/nvidia-cuda-toolkit: prefix support
- Remove trailing slash from EROOT - Fix double prefix in calls to dosym Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'dev-util/nvidia-cuda-toolkit')
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.0.3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.0.3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.0.3.ebuild
index 019039d5007a..5e710f2fccdb 100644
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.0.3.ebuild
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-11.0.3.ebuild
@@ -184,8 +184,8 @@ src_install() {
fi
# Add include and lib symlinks
- dosym "targets/x86_64-linux/include" ${ecudadir}/include
- dosym "targets/x86_64-linux/lib" ${ecudadir}/lib64
+ dosym "targets/x86_64-linux/include" ${cudadir}/include
+ dosym "targets/x86_64-linux/lib" ${cudadir}/lib64
newenvd - 99cuda <<-EOF
PATH=${ecudadir}/bin$(usex vis-profiler ":${ecudadir}/libnvvp" "")
@@ -203,7 +203,7 @@ src_install() {
}
pkg_postinst_check() {
- local a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
+ local a="$(${EROOT%/}/opt/cuda/bin/cuda-config -s)"
local b="0.0"
local v
for v in ${a}; do