summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-04-24 20:51:49 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-04-24 21:02:09 -0500
commitaa994a77efb09f333c73168d6294d5aff2a960ee (patch)
tree6fd5b3f214fb918368917be9db31a95edaebfd74 /sci-libs/trilinos
parentapp-portage/layman: Update subversion deps for qa-reports (diff)
downloadgentoo-aa994a77efb09f333c73168d6294d5aff2a960ee.tar.gz
gentoo-aa994a77efb09f333c73168d6294d5aff2a960ee.tar.bz2
gentoo-aa994a77efb09f333c73168d6294d5aff2a960ee.zip
sci-libs/trilinos: fix DESTDIR and installation
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/trilinos')
-rw-r--r--sci-libs/trilinos/Manifest1
-rw-r--r--sci-libs/trilinos/trilinos-12.18.1.ebuild8
2 files changed, 8 insertions, 1 deletions
diff --git a/sci-libs/trilinos/Manifest b/sci-libs/trilinos/Manifest
index 2d59d00dbf2c..36e24a7c12ea 100644
--- a/sci-libs/trilinos/Manifest
+++ b/sci-libs/trilinos/Manifest
@@ -1,3 +1,4 @@
DIST trilinos-12.14.1-patches-r0.tar.xz 6448 BLAKE2B f852a4612c400ddfb6dcecb476e0b9b2cd0f38ac9cd74fd09fc1f99ccb2588a4703f8c8514689c81d23aa218aff3cdcbe9b5205becea8936723d6e339705d54d SHA512 206bd08f0a5b7f7107e60c9e9c1a15fa7e74916bacb5399cccdd936b426768834ff24424ea77e8d1706afa98d88bb5a098b3b0203039024a3b5f5388c4a9735b
DIST trilinos-12.14.1.tar.gz 129036436 BLAKE2B e7401df2ff8408a7af4a8e90d93b1929df65228c4f5cf3c754d20ebdfa8f3835800f540e87c1198e0baf2fefe0920618ae497f59373720754ab0c9dc1da93136 SHA512 dfff0e0582cb5ad12614dd53e9635572c8d1ee86d96f432f5a6e046af63edb13f6bfa3037204ab89fbb0d27e9be9bd9661d47efb41ab2a6e421bca5eba6b6a87
+DIST trilinos-12.18.1-patches-r0.tar.xz 6236 BLAKE2B fdcdedde68ef855aa98671223ad2c42467284ad7ca364e2b5ca715094a6efacc463f2d1812ee63ac980ca87dbe16bb2ac04835f52efa1df34651a608cb5407e9 SHA512 e6db2be4642b8f9797b0be6dd05641ae469dd5117b1b04da54ed955bd56473d6aaa69d59dfd7869db1e7059d2d9b2cb2d9269dd5ef863663eabb90c5c256b987
DIST trilinos-12.18.1.tar.gz 152007573 BLAKE2B 5dc2ee432d777712fb4ca1dc2d7ad68015f523fdbcbd4f55388a89d31c0946a1c5031b3e8f906952cf6b2f4f16928e6da5f17b1f6ee0f0e5669cfce5c8a09367 SHA512 e2a57df57e8e98ed97bbde9c1e768738f0eaccc32466aff6daa308573a860b3debee89bd570c113ca0f6a6458ff562aa6596ddf657236c368b7b2e26a4b4466b
diff --git a/sci-libs/trilinos/trilinos-12.18.1.ebuild b/sci-libs/trilinos/trilinos-12.18.1.ebuild
index 58c77990f129..40ce80833141 100644
--- a/sci-libs/trilinos/trilinos-12.18.1.ebuild
+++ b/sci-libs/trilinos/trilinos-12.18.1.ebuild
@@ -10,7 +10,8 @@ DESCRIPTION="Scientific library collection for large scale problems"
HOMEPAGE="http://trilinos.sandia.gov/"
MY_PV="${PV//\./-}"
PATCHSET="r0"
-SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~tamiko/distfiles/${P}-patches-${PATCHSET}.tar.xz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -65,6 +66,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}"
PATCHES=(
+ "${WORKDIR}"/patches
)
trilinos_conf() {
@@ -192,10 +194,14 @@ src_install() {
cmake-utils_src_install
# Clean up the mess:
+ rm "${ED}"/TrilinosRepoVersion.txt || die "rm failed"
mv "${ED}"/bin "${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
+ if [[ $(get_libdir) != lib ]]; then
+ mv "${ED}"/usr/lib/pkgconfig "${ED}/usr/$(get_libdir)" || die "mv failed"
+ fi
#
# register $(get_libdir)/trilinos in LDPATH so that the dynamic linker