commit: 8ba6b885d438cb4abc7f0e5ad93e83df60e19534 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Dec 31 02:18:09 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 31 02:18:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba6b885
dev-libs/botan: fix man page collision between slots Closes: https://bugs.gentoo.org/937630 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/botan/botan-2.19.5.ebuild | 5 +++++ dev-libs/botan/botan-3.10.0.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-libs/botan/botan-2.19.5.ebuild b/dev-libs/botan/botan-2.19.5.ebuild index 693b646a1628..0548cf3f82e4 100644 --- a/dev-libs/botan/botan-2.19.5.ebuild +++ b/dev-libs/botan/botan-2.19.5.ebuild @@ -200,6 +200,11 @@ src_install() { mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die fi + if [[ -d "${ED}"/usr/share/man/man1 ]] ; then + # --program-suffix doesn't apply to the man page + mv "${ED}"/usr/share/man/man1/botan{,$(ver_cut 1)}.1 || die + fi + # Manually install the Python bindings (bug #723096) if use python ; then python_foreach_impl python_domodule src/python/botan$(ver_cut 1).py diff --git a/dev-libs/botan/botan-3.10.0.ebuild b/dev-libs/botan/botan-3.10.0.ebuild index 373d3a2c5bee..a54d28b28388 100644 --- a/dev-libs/botan/botan-3.10.0.ebuild +++ b/dev-libs/botan/botan-3.10.0.ebuild @@ -192,6 +192,11 @@ src_install() { mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die fi + if [[ -d "${ED}"/usr/share/man/man1 ]] ; then + # --program-suffix doesn't apply to the man page + mv "${ED}"/usr/share/man/man1/botan{,$(ver_cut 1)}.1 || die + fi + # Manually install the Python bindings (bug #723096) if use python ; then python_foreach_impl python_domodule src/python/botan$(ver_cut 1).py
