summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-20 23:24:32 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-20 23:31:40 +0100
commit686519b813260a25d0c4f0e0cbe8947f67db7312 (patch)
tree640b86ac6550f6a0eea36581c811f81a4dd317c9 /sys-devel
parentsys-apps/openrc: remove unused patches (diff)
downloadgentoo-686519b813260a25d0c4f0e0cbe8947f67db7312.tar.gz
gentoo-686519b813260a25d0c4f0e0cbe8947f67db7312.tar.bz2
gentoo-686519b813260a25d0c4f0e0cbe8947f67db7312.zip
sys-devel/clang: Fix installing manpages w/ USE=-doc
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-5.0.1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-5.0.1.ebuild b/sys-devel/clang/clang-5.0.1.ebuild
index 8aeb29005dc6..9aeef0ecf6d4 100644
--- a/sys-devel/clang/clang-5.0.1.ebuild
+++ b/sys-devel/clang/clang-5.0.1.ebuild
@@ -103,6 +103,11 @@ src_unpack() {
"${LLVM_P}"/utils/{lit,unittest} || die
mv "${LLVM_P}" "${WORKDIR}"/llvm || die
fi
+
+ if ! use doc; then
+ einfo "Unpacking llvm-${PV}-manpages.tar.bz2 ..."
+ tar -xf "${DISTDIR}/llvm-${PV}-manpages.tar.bz2" || die
+ fi
}
multilib_src_configure() {