commit: c00fb25cc919a08559292efab2e1ddd616041318
Author: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 00:25:52 2017 +0000
Commit: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 00:26:23 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c00fb25c
sys-cluster/openmpi: remove dead symlinks
With USE=-fortran, some symlinks were still being installed.
Thanks to Arfrever Frehtes Taifersar Arahesis, #612586
Package-Manager: portage-2.3.3
.../openmpi/{openmpi-2.1.0.ebuild => openmpi-2.1.0-r1.ebuild} | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sys-cluster/openmpi/openmpi-2.1.0.ebuild
b/sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
similarity index 96%
rename from sys-cluster/openmpi/openmpi-2.1.0.ebuild
rename to sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
index cf808b6ae..0b22945ee 100644
--- a/sys-cluster/openmpi/openmpi-2.1.0.ebuild
+++ b/sys-cluster/openmpi/openmpi-2.1.0-r1.ebuild
@@ -148,7 +148,12 @@ multilib_src_install() {
mv "${ED}"/$(mpi_root)/usr/include/mpif* "${T}"/fortran || die
else
# some fortran files get installed unconditionally
- rm "${ED}"/$(mpi_root)/usr/include/mpif* "${ED}"usr/bin/mpif*
|| die
+ rm \
+ "${ED}"/$(mpi_root)/usr/include/mpif* \
+ "${ED}"/$(mpi_root)/usr/bin/mpif* \
+ "${ED}"/$(mpi_root)/usr/bin/oshfort \
+ "${ED}"/$(mpi_root)/usr/bin/shmemfort \
+ || die
fi
}