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