diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-30 15:14:10 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-30 16:52:16 +0200 |
commit | fe71a6b0ed25cf283425fd27478a9cb06da891b4 (patch) | |
tree | 1c03855f90987eeea73c8d94a702207caa49866c /sys-devel | |
parent | sys-devel/clang-common: Install config files for clang 16.x (diff) | |
download | gentoo-fe71a6b0ed25cf283425fd27478a9cb06da891b4.tar.gz gentoo-fe71a6b0ed25cf283425fd27478a9cb06da891b4.tar.bz2 gentoo-fe71a6b0ed25cf283425fd27478a9cb06da891b4.zip |
sys-devel/clang: Enable config file support in 16.x
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/clang/clang-16.0.0.9999.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/clang/clang-16.0.0_pre20220930.ebuild | 2 |
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}" |