* [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/
@ 2022-09-30 14:52 99% Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2022-09-30 14:52 UTC (permalink / raw
To: gentoo-commits
commit: fe71a6b0ed25cf283425fd27478a9cb06da891b4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 13:14:10 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 14:52:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe71a6b0
sys-devel/clang: Enable config file support in 16.x
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-devel/clang/clang-16.0.0.9999.ebuild | 2 ++
sys-devel/clang/clang-16.0.0_pre20220930.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/sys-devel/clang/clang-16.0.0.9999.ebuild b/sys-devel/clang/clang-16.0.0.9999.ebuild
index 5baa52268eff..1bf259b60f4b 100644
--- a/sys-devel/clang/clang-16.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-16.0.0.9999.ebuild
@@ -32,6 +32,7 @@ DEPEND="
RDEPEND="
${PYTHON_DEPS}
${DEPEND}
+ >=sys-devel/clang-common-${PV}
"
BDEPEND="
${PYTHON_DEPS}
@@ -260,6 +261,7 @@ multilib_src_configure() {
-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"
+ -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang"
# relative to bindir
-DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"
diff --git a/sys-devel/clang/clang-16.0.0_pre20220930.ebuild b/sys-devel/clang/clang-16.0.0_pre20220930.ebuild
index 5baa52268eff..1bf259b60f4b 100644
--- a/sys-devel/clang/clang-16.0.0_pre20220930.ebuild
+++ b/sys-devel/clang/clang-16.0.0_pre20220930.ebuild
@@ -32,6 +32,7 @@ DEPEND="
RDEPEND="
${PYTHON_DEPS}
${DEPEND}
+ >=sys-devel/clang-common-${PV}
"
BDEPEND="
${PYTHON_DEPS}
@@ -260,6 +261,7 @@ multilib_src_configure() {
-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"
+ -DCLANG_CONFIG_FILE_SYSTEM_DIR="${EPREFIX}/etc/clang"
# relative to bindir
-DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-09-30 14:52 99% [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox