summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-16.0.0.9999.ebuild2
-rw-r--r--sys-devel/clang/clang-16.0.0_pre20220930.ebuild2
2 files changed, 4 insertions, 0 deletions
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}"