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
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')
-rw-r--r--sys-devel/clang/clang-4.0.1.ebuild1
-rw-r--r--sys-devel/clang/clang-5.0.1.ebuild1
-rw-r--r--sys-devel/clang/clang-6.0.0.ebuild1
-rw-r--r--sys-devel/clang/clang-6.0.9999.ebuild1
-rw-r--r--sys-devel/clang/clang-9999.ebuild1
5 files changed, 5 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-4.0.1.ebuild b/sys-devel/clang/clang-4.0.1.ebuild
index 7acf3a8d9f52..f600ff571c21 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}"
diff --git a/sys-devel/clang/clang-5.0.1.ebuild b/sys-devel/clang/clang-5.0.1.ebuild
index e07848fcd49f..f215ab8b2002 100644
--- a/sys-devel/clang/clang-5.0.1.ebuild
+++ b/sys-devel/clang/clang-5.0.1.ebuild
@@ -125,6 +125,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}"
diff --git a/sys-devel/clang/clang-6.0.0.ebuild b/sys-devel/clang/clang-6.0.0.ebuild
index 843462a5f859..2b9ed32927ce 100644
--- a/sys-devel/clang/clang-6.0.0.ebuild
+++ b/sys-devel/clang/clang-6.0.0.ebuild
@@ -125,6 +125,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}"
diff --git a/sys-devel/clang/clang-6.0.9999.ebuild b/sys-devel/clang/clang-6.0.9999.ebuild
index 245213c78d2e..a9edb3ec6a20 100644
--- a/sys-devel/clang/clang-6.0.9999.ebuild
+++ b/sys-devel/clang/clang-6.0.9999.ebuild
@@ -110,6 +110,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}"
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 9513fa282b5b..015b5639dbf2 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -111,6 +111,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}"