summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2023-05-23 08:03:52 -0500
committerMatthias Maier <tamiko@gentoo.org>2023-05-23 08:05:24 -0500
commit197481edf495a58d0c1af6442c9baf1f8ab56b77 (patch)
treefb71a2ffd74889322ddf2eedf308cb1f438561b8 /sci-libs/trilinos
parentdev-python/vcrpy: add upstream bug ref for <urllib3-2 dep (diff)
downloadgentoo-197481edf495a58d0c1af6442c9baf1f8ab56b77.tar.gz
gentoo-197481edf495a58d0c1af6442c9baf1f8ab56b77.tar.bz2
gentoo-197481edf495a58d0c1af6442c9baf1f8ab56b77.zip
sci-libs/trilinos: fix cmake configuration files
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/trilinos')
-rw-r--r--sci-libs/trilinos/trilinos-14.0.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sci-libs/trilinos/trilinos-14.0.0.ebuild b/sci-libs/trilinos/trilinos-14.0.0.ebuild
index ba271797a58f..86f5aa32c67d 100644
--- a/sci-libs/trilinos/trilinos-14.0.0.ebuild
+++ b/sci-libs/trilinos/trilinos-14.0.0.ebuild
@@ -243,6 +243,9 @@ src_install() {
# Move the cmake directory to the right location:
mkdir -p "${ED}/usr/$(get_libdir)"/cmake
mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed"
+ # Fix up include paths:
+ sed -i -e 's#external_packages#trilinos/external_packages#g' \
+ "${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed"
rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed"
# Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker