summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-06-10 12:57:44 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-06-10 12:58:56 -0500
commit14054214348d0d957455122ab4a34498b7928b07 (patch)
tree55fad0c03a9ddeacd5a773fbe81c8760b8eae86a /sci-libs/trilinos
parentdev-qt/qtquickcontrols2: Menu: account for scale before positioning (diff)
downloadgentoo-14054214348d0d957455122ab4a34498b7928b07.tar.gz
gentoo-14054214348d0d957455122ab4a34498b7928b07.tar.bz2
gentoo-14054214348d0d957455122ab4a34498b7928b07.zip
sci-libs/trilinos: fix compilation and fix installation paths
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/trilinos')
-rw-r--r--sci-libs/trilinos/trilinos-12.18.1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sci-libs/trilinos/trilinos-12.18.1.ebuild b/sci-libs/trilinos/trilinos-12.18.1.ebuild
index 605b4f2f2d09..d526edf1054c 100644
--- a/sci-libs/trilinos/trilinos-12.18.1.ebuild
+++ b/sci-libs/trilinos/trilinos-12.18.1.ebuild
@@ -96,6 +96,7 @@ src_configure() {
-DTrilinos_INSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)/trilinos"
-DTrilinos_ENABLE_ALL_PACKAGES=ON
-DTrilinos_ENABLE_PyTrilinos=OFF
+ -DTrilinos_ENABLE_SEACAS=OFF
-DTrilinos_ENABLE_SEACASChaco=OFF
-DTrilinos_ENABLE_SEACASExodiff="$(usex netcdf)"
-DTrilinos_ENABLE_SEACASExodus="$(usex netcdf)"
@@ -195,6 +196,8 @@ src_install() {
# Clean up the mess:
mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
+ mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed"
+ rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed"
if [ -f "${ED}"/lib/exodus.py ]; then
mv "${ED}"/lib/exodus.py "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
fi