commit:     781f83d7790d50472c14e9baee71d89f83679dfc
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 29 02:36:44 2023 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jul 29 02:54:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=781f83d7

sci-libs/rocSOLVER: disable all the non-FHS symlinks.

Bug: https://bugs.gentoo.org/911400
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild 
b/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild
index dce60e072b37..8088b8523a68 100644
--- a/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild
+++ b/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild
@@ -33,14 +33,6 @@ RESTRICT="!test? ( test )"
 
 S=${WORKDIR}/${PN}-rocm-${PV}
 
-src_prepare() {
-       sed -e "s: PREFIX rocsolver:# PREFIX rocsolver:" -i 
library/src/CMakeLists.txt
-       sed -e 
"s:\$<INSTALL_INTERFACE\:include>:\$<INSTALL_INTERFACE\:include/rocsolver>:" -i 
library/src/CMakeLists.txt
-       sed -e "s:rocm_install_symlink_subdir( rocsolver 
):#rocm_install_symlink_subdir( rocsolver ):" -i library/src/CMakeLists.txt
-
-       cmake_src_prepare
-}
-
 src_configure() {
        # avoid sandbox violation
        addpredict /dev/kfd
@@ -50,7 +42,8 @@ src_configure() {
                -DCMAKE_SKIP_RPATH=On
                -DAMDGPU_TARGETS="$(get_amdgpu_flags)"
                -Wno-dev
-               -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/rocsolver"
+               -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
+               -DROCM_SYMLINK_LIBS=OFF
                -DBUILD_CLIENTS_SAMPLES=NO
                -DBUILD_CLIENTS_TESTS=$(usex test ON OFF)
                -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF)

Reply via email to