summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2022-06-25 18:11:23 -0500
committerMatthias Maier <tamiko@gentoo.org>2022-06-25 18:14:20 -0500
commitdba1fa4e440b7af90548efbc1d618436f9f96b99 (patch)
tree033d05344f1bf1d191e75fe856c53bf2d28abcf5 /sci-libs/hdf5
parentprofiles/arch/sparc: force dev-lang/rust[llvm_targets_Sparc] (diff)
downloadgentoo-dba1fa4e440b7af90548efbc1d618436f9f96b99.tar.gz
gentoo-dba1fa4e440b7af90548efbc1d618436f9f96b99.tar.bz2
gentoo-dba1fa4e440b7af90548efbc1d618436f9f96b99.zip
sci-libs/hdf5: attempt to delete perf binary only when USE=mpi
Closes: https://bugs.gentoo.org/854183 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/hdf5')
-rw-r--r--sci-libs/hdf5/hdf5-1.12.2-r4.ebuild2
1 files changed, 1 insertions, 1 deletions
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" ; }
}