summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-08-13 01:10:58 -0500
committerMatthias Maier <tamiko@gentoo.org>2019-08-13 01:11:37 -0500
commiteacf2e514ab7b73a3c25026aaaed65ad5746bfda (patch)
tree998adc2068881190c804d859e6d435c720084fe0 /sci-libs/trilinos
parentdev-db/mongodb: version bump, drop old (diff)
downloadgentoo-eacf2e514ab7b73a3c25026aaaed65ad5746bfda.tar.gz
gentoo-eacf2e514ab7b73a3c25026aaaed65ad5746bfda.tar.bz2
gentoo-eacf2e514ab7b73a3c25026aaaed65ad5746bfda.zip
sci-libs/trilinos: Fix install
Closes: https://bugs.gentoo.org/691888 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/trilinos')
-rw-r--r--sci-libs/trilinos/trilinos-12.14.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/trilinos/trilinos-12.14.1.ebuild b/sci-libs/trilinos/trilinos-12.14.1.ebuild
index 7f2d24929721..affe878ba6ec 100644
--- a/sci-libs/trilinos/trilinos-12.14.1.ebuild
+++ b/sci-libs/trilinos/trilinos-12.14.1.ebuild
@@ -195,7 +195,9 @@ src_install() {
# Clean up the mess:
mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
- mv "${ED}"/lib/exodus.py "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
+ if [ -f "${ED}"/lib/exodus.py ]; then
+ mv "${ED}"/lib/exodus.py "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
+ fi
#
# register $(get_libdir)/trilinos in LDPATH so that the dynamic linker