summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild (renamed from sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild b/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild
index d6354b8d77be..21030abf26a0 100644
--- a/sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild
+++ b/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -64,6 +64,9 @@ src_prepare() {
# remove GIT dependency
sed -e "/find_package(Git/d" -i cmake/Dependencies.cmake || die
+ # Fix install path
+ sed -i -e "s.set(CMAKE_INSTALL_LIBDIR.#set(CMAKE_INSTALL_LIBDIR." CMakeLists.txt || die
+
if use test; then
mkdir -p "${BUILD_DIR}"/clients/matrices
# compile and use the mtx2bin converter. Do not use any optimization flags!