commit: 74becb19ba7f7c46ae22e8a1ec6270e2caeaa725 Author: Julius Putra Tanu Setiaji <indocomsoft <AT> gmail <DOT> com> AuthorDate: Wed Dec 18 13:59:05 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Dec 22 08:16:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74becb19
sys-devel/clang: Set the correct LLVM_CMAKE_PATH on Gentoo Prefix Signed-off-by: Julius Putra Tanu Setiaji <indocomsoft <AT> gmail.com> Closes: https://bugs.gentoo.org/696844 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/14036 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-devel/clang/clang-10.0.0.9999.ebuild | 1 + sys-devel/clang/clang-9.0.1.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sys-devel/clang/clang-10.0.0.9999.ebuild b/sys-devel/clang/clang-10.0.0.9999.ebuild index cdd1274c423..8201088ceb4 100644 --- a/sys-devel/clang/clang-10.0.0.9999.ebuild +++ b/sys-devel/clang/clang-10.0.0.9999.ebuild @@ -209,6 +209,7 @@ multilib_src_configure() { local clang_version=$(ver_cut 1-3 "${llvm_version}") local mycmakeargs=( + -DLLVM_CMAKE_PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)/cmake/llvm" -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.1.ebuild b/sys-devel/clang/clang-9.0.1.ebuild index 926c06a7ee9..6d46d251988 100644 --- a/sys-devel/clang/clang-9.0.1.ebuild +++ b/sys-devel/clang/clang-9.0.1.ebuild @@ -96,6 +96,7 @@ multilib_src_configure() { local clang_version=$(ver_cut 1-3 "${llvm_version}") local mycmakeargs=( + -DLLVM_CMAKE_PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)/cmake/llvm" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}" -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man" # relative to bindir
