commit: 43633ff1b4c357daf6b96233a7e19f4dbcd745ba
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 08:40:18 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 09:39:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43633ff1
sys-devel/clang: Stop passing LLVM_CONFIG to 9.0+
Stop passing LLVM_CONFIG to silence CMake warning. Nowadays correct
PATH should be sufficient for CMake to find the correct packages.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-devel/clang/clang-10.0.0.9999.ebuild | 2 --
sys-devel/clang/clang-9.0.0.9999.ebuild | 2 --
2 files changed, 4 deletions(-)
diff --git a/sys-devel/clang/clang-10.0.0.9999.ebuild
b/sys-devel/clang/clang-10.0.0.9999.ebuild
index 801d601ba13..423e55170bf 100644
--- a/sys-devel/clang/clang-10.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-10.0.0.9999.ebuild
@@ -109,8 +109,6 @@ multilib_src_configure() {
local clang_version=$(ver_cut 1-3 "${llvm_version}")
local mycmakeargs=(
- # 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
diff --git a/sys-devel/clang/clang-9.0.0.9999.ebuild
b/sys-devel/clang/clang-9.0.0.9999.ebuild
index 60b45818fe4..4fac61d4c53 100644
--- a/sys-devel/clang/clang-9.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-9.0.0.9999.ebuild
@@ -114,8 +114,6 @@ multilib_src_configure() {
local clang_version=$(ver_cut 1-3 "${llvm_version}")
local mycmakeargs=(
- # 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