diff options
author | Sam James <sam@gentoo.org> | 2022-08-05 06:56:20 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-05 06:56:48 +0100 |
commit | a78599b4065281da97a1cf9177280b7d7d292211 (patch) | |
tree | 3f5c3b6915e16c85ad0b4c0c9a596c004338abbc /sys-libs/libunwind | |
parent | virtual/dist-kernel: Stabilize 5.10.135 arm64, #863458 (diff) | |
download | gentoo-a78599b4065281da97a1cf9177280b7d7d292211.tar.gz gentoo-a78599b4065281da97a1cf9177280b7d7d292211.tar.bz2 gentoo-a78599b4065281da97a1cf9177280b7d7d292211.zip |
sys-libs/libunwind: fix man path
Closes: https://bugs.gentoo.org/863698
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libunwind')
-rw-r--r-- | sys-libs/libunwind/libunwind-1.6.2-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild index 9526faf6e04f..144c3e79cac5 100644 --- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild +++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild @@ -12,6 +12,8 @@ LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3) # Default to generating docs (inc. man pages) if no prebuilt; overridden later LIBUNWIND_DOCS_USEFLAG="+doc" +[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc" + MY_PV=${PV/_/-} MY_P=${PN}-${MY_PV} inherit multilib-minimal @@ -110,6 +112,6 @@ multilib_src_install_all() { # If USE=doc, there'll be newly generated docs which we install instead. if ! use doc && [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/docs/*.[0-8] + doman "${WORKDIR}"/${PN}-${LIBUNWIND_DOCS_VERSION}-docs/man*/*.[0-8] fi } |