From 41d6545cb4d18f6fe517cdfdf29968dc04aeae4b Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 2 Mar 2023 16:29:27 +0000 Subject: [PATCH] sci-libs/hipSPARSE: Fix install path Signed-off-by: Patrick Lauer --- .../{hipSPARSE-5.1.3.ebuild => hipSPARSE-5.1.3-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename sci-libs/hipSPARSE/{hipSPARSE-5.1.3.ebuild => hipSPARSE-5.1.3-r1.ebuild} (95%) diff --git a/sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild b/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild similarity index 95% rename from sci-libs/hipSPARSE/hipSPARSE-5.1.3.ebuild rename to sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild index d6354b8d77be2..21030abf26a07 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!