summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-09 14:41:34 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-09 15:58:34 +0100
commit40dc9f6cf3b2d73d35b637c1624142b9c46c96b5 (patch)
treee93e4536f796129c6f8e36e622aedf90d96804fd /sys-devel/clang/clang-4.0.1.ebuild
parentsys-devel/llvm: Force correct CMAKE_INSTALL_MANDIR (diff)
downloadgentoo-40dc9f6cf3b2d73d35b637c1624142b9c46c96b5.tar.gz
gentoo-40dc9f6cf3b2d73d35b637c1624142b9c46c96b5.tar.bz2
gentoo-40dc9f6cf3b2d73d35b637c1624142b9c46c96b5.zip
sys-devel/clang: Force correct CMAKE_INSTALL_MANDIR
Diffstat (limited to 'sys-devel/clang/clang-4.0.1.ebuild')
-rw-r--r--sys-devel/clang/clang-4.0.1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-4.0.1.ebuild b/sys-devel/clang/clang-4.0.1.ebuild
index 7acf3a8d9f5..f600ff571c2 100644
--- a/sys-devel/clang/clang-4.0.1.ebuild
+++ b/sys-devel/clang/clang-4.0.1.ebuild
@@ -116,6 +116,7 @@ multilib_src_configure() {
# ensure that the correct llvm-config is used
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}"
+ -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
# relative to bindir
-DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"