From 9f28a19a757b5ad8c901a62d10648a8e65e6bd15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 6 Apr 2017 08:42:33 +0200 Subject: [PATCH] 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. --- sys-devel/llvm/{llvm-4.0.0.ebuild => llvm-4.0.0-r1.ebuild} | 1 + sys-devel/llvm/llvm-9999.ebuild | 1 + 2 files changed, 2 insertions(+) rename sys-devel/llvm/{llvm-4.0.0.ebuild => llvm-4.0.0-r1.ebuild} (99%) 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}" -- 2.26.2