Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/
Date: Fri, 05 Aug 2022 05:57:04
Message-Id: 1659679008.a78599b4065281da97a1cf9177280b7d7d292211.sam@gentoo
1 commit: a78599b4065281da97a1cf9177280b7d7d292211
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 5 05:56:20 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 5 05:56:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78599b4
7
8 sys-libs/libunwind: fix man path
9
10 Closes: https://bugs.gentoo.org/863698
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
17 index 9526faf6e04f..144c3e79cac5 100644
18 --- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
19 +++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
20 @@ -12,6 +12,8 @@ LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
21 # Default to generating docs (inc. man pages) if no prebuilt; overridden later
22 LIBUNWIND_DOCS_USEFLAG="+doc"
23
24 +[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
25 +
26 MY_PV=${PV/_/-}
27 MY_P=${PN}-${MY_PV}
28 inherit multilib-minimal
29 @@ -110,6 +112,6 @@ multilib_src_install_all() {
30
31 # If USE=doc, there'll be newly generated docs which we install instead.
32 if ! use doc && [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
33 - doman "${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/docs/*.[0-8]
34 + doman "${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/man*/*.[0-8]
35 fi
36 }