summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-22 19:46:05 +0000
committerSam James <sam@gentoo.org>2024-12-22 19:46:05 +0000
commit562941bf90f75afd019665f0f0ce6550d055fff4 (patch)
treeeecde000893a91d00d049cef405c11c3f2eb4710 /dev-libs
parentrust.eclass: update get_rust_path for recent change (diff)
downloadgentoo-562941bf90f75afd019665f0f0ce6550d055fff4.tar.gz
gentoo-562941bf90f75afd019665f0f0ce6550d055fff4.tar.bz2
gentoo-562941bf90f75afd019665f0f0ce6550d055fff4.zip
dev-libs/botan: backport USE=doc fix to 2.19.x
Backport the fix from 230179daf6ba0dd4401b7b79079d840ed251b06e. Bug: https://bugs.gentoo.org/910232 Closes: https://bugs.gentoo.org/946829 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/botan/botan-2.19.5.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/botan/botan-2.19.5.ebuild b/dev-libs/botan/botan-2.19.5.ebuild
index bece06dd2ab4..f042f0f6df33 100644
--- a/dev-libs/botan/botan-2.19.5.ebuild
+++ b/dev-libs/botan/botan-2.19.5.ebuild
@@ -194,7 +194,7 @@ src_test() {
src_install() {
default
- if [[ -d "${ED}"/usr/share/doc/${P} ]] ; then
+ if [[ -d "${ED}"/usr/share/doc/${P} && ${P} != ${PF} ]] ; then
# --docdir in configure controls the parent directory unfortunately
mv "${ED}"/usr/share/doc/${P} "${ED}"/usr/share/doc/${PF} || die
fi