From: Michał Górny Date: Thu, 6 Apr 2017 06:42:33 +0000 (+0200) Subject: sys-devel/llvm: Include MANPATH in env.d file X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f28a19a757b5ad8c901a62d10648a8e65e6bd15;p=gentoo.git sys-devel/llvm: Include MANPATH in env.d file Include MANPATH in the env.d file so that 'man' can reliably find all the manpages. It seems that at least sys-apps/man-db can still find the manpages relative to the tools found in PATH but that is most likely unreliable. --- diff --git a/sys-devel/llvm/llvm-4.0.0.ebuild b/sys-devel/llvm/llvm-4.0.0-r1.ebuild similarity index 99% rename from sys-devel/llvm/llvm-4.0.0.ebuild rename to sys-devel/llvm/llvm-4.0.0-r1.ebuild index f7f8e7c7456e..1384df1a1191 100644 --- a/sys-devel/llvm/llvm-4.0.0.ebuild +++ b/sys-devel/llvm/llvm-4.0.0-r1.ebuild @@ -258,6 +258,7 @@ multilib_src_install_all() { PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin" # we need to duplicate it in ROOTPATH for Portage to respect... ROOTPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin" + MANPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )" _EOF_ doenvd "${T}/10llvm-${revord}" diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index cdba7b1daf4e..16413680bdfe 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -258,6 +258,7 @@ multilib_src_install_all() { PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin" # we need to duplicate it in ROOTPATH for Portage to respect... ROOTPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin" + MANPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )" _EOF_ doenvd "${T}/10llvm-${revord}"