Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/trilinos/
Date: Tue, 13 Aug 2019 06:11:54
Message-Id: 1565676697.eacf2e514ab7b73a3c25026aaaed65ad5746bfda.tamiko@gentoo
1 commit: eacf2e514ab7b73a3c25026aaaed65ad5746bfda
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 13 06:10:58 2019 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 13 06:11:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacf2e51
7
8 sci-libs/trilinos: Fix install
9
10 Closes: https://bugs.gentoo.org/691888
11 Package-Manager: Portage-2.3.71, Repoman-2.3.17
12 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
13
14 sci-libs/trilinos/trilinos-12.14.1.ebuild | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17 diff --git a/sci-libs/trilinos/trilinos-12.14.1.ebuild b/sci-libs/trilinos/trilinos-12.14.1.ebuild
18 index 7f2d2492972..affe878ba6e 100644
19 --- a/sci-libs/trilinos/trilinos-12.14.1.ebuild
20 +++ b/sci-libs/trilinos/trilinos-12.14.1.ebuild
21 @@ -195,7 +195,9 @@ src_install() {
22
23 # Clean up the mess:
24 mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
25 - mv "${ED}"/lib/exodus.py "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
26 + if [ -f "${ED}"/lib/exodus.py ]; then
27 + mv "${ED}"/lib/exodus.py "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
28 + fi
29
30 #
31 # register $(get_libdir)/trilinos in LDPATH so that the dynamic linker