commit: 161fc86a9bdc9277f26b023de5e422bb5d56c2b8
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 15 23:17:24 2023 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jun 17 01:03:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161fc86a
sci-libs/arborx: fix libdir
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/arborx/{arborx-1.4.1.ebuild => arborx-1.4.1-r1.ebuild} | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sci-libs/arborx/arborx-1.4.1.ebuild
b/sci-libs/arborx/arborx-1.4.1-r1.ebuild
similarity index 81%
rename from sci-libs/arborx/arborx-1.4.1.ebuild
rename to sci-libs/arborx/arborx-1.4.1-r1.ebuild
index c27f694b4071..d0d4cf0e2ed2 100644
--- a/sci-libs/arborx/arborx-1.4.1.ebuild
+++ b/sci-libs/arborx/arborx-1.4.1-r1.ebuild
@@ -24,6 +24,14 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"/ArborX-${PV}
+src_prepare() {
+ default
+ cmake_src_prepare
+
+ # replace hardcoded "lib/" directory:
+ sed -i -e "s#lib/#$(get_libdir)/#g" CMakeLists.txt || die "sed failed"
+}
+
src_configure() {
local mycmakeargs=(
-DARBORX_ENABLE_MPI="$(usex mpi)"