commit: dba1fa4e440b7af90548efbc1d618436f9f96b99 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> AuthorDate: Sat Jun 25 23:11:23 2022 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Sat Jun 25 23:14:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dba1fa4e
sci-libs/hdf5: attempt to delete perf binary only when USE=mpi Closes: https://bugs.gentoo.org/854183 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild index dc668a1d721d..7cb1b8716025 100644 --- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild +++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild @@ -109,5 +109,5 @@ src_install() { # Remove "perf" executable due to file collisions with dev-util/perf. # Previously with the CMake build system we only installed h5perf, so # let's simply remove the file for now. - rm "${ED}"/usr/bin/perf || die "rm failed" + use mpi && { rm "${ED}"/usr/bin/perf || die "rm failed" ; } }
