From 56bf30db3c55f0bf7786e5e057a5546932aa99ca Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Mon, 14 Aug 2023 15:56:11 +0800 Subject: dev-util/nvidia-cuda-toolkit: dosym link has EPREFIX prepended. Should use the raw cudadir. Reference: https://bugs.gentoo.org/615594 Signed-off-by: Benda Xu --- dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.1.1-r1.ebuild | 4 ++-- dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.0.ebuild | 4 ++-- dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.1.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dev-util/nvidia-cuda-toolkit') diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.1.1-r1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.1.1-r1.ebuild index 89752e0c6d16..039bae19520e 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.1.1-r1.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.1.1-r1.ebuild @@ -257,8 +257,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 # Remove bad symlinks rm "${ED}"/${cudadir}/targets/x86_64-linux/include/include || die diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.0.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.0.ebuild index 56e08afe36fc..f1281e52c3d6 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.0.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.0.ebuild @@ -257,8 +257,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 # Remove bad symlinks rm "${ED}"/${cudadir}/targets/x86_64-linux/include/include || die diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.1.ebuild index 5f9a12343567..10250e337e5c 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.1.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.2.1.ebuild @@ -257,8 +257,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 # Remove bad symlinks rm "${ED}"/${cudadir}/targets/x86_64-linux/include/include || die -- cgit v1.2.3-65-gdbad