commit:     2a3fd2e98a3702dafbc0c0b7f1f8d7aa44fcbe70
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 07:25:25 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 07:31:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3fd2e9

sci-libs/hdf5: remove "perf" executable

Closes: https://bugs.gentoo.org/854180
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/hdf5/{hdf5-1.12.2-r3.ebuild => hdf5-1.12.2-r4.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
similarity index 92%
rename from sci-libs/hdf5/hdf5-1.12.2-r3.ebuild
rename to sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 1a00c0b61e8b..dc668a1d721d 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -105,4 +105,9 @@ src_install() {
 
        # No static archives
        find "${ED}" -name '*.la' -delete || die
+
+       # 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"
 }

Reply via email to