commit:     093b263b263af53d6f426fe979991bbb19edafdc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 29 19:58:43 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 29 20:04:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093b263b

sys-libs/llvm-libunwind: Use LIBUNWIND_INSTALL_HEADERS in 14.x

Thanks to Arfrever for the suggestion.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild
index 3de0ff0f04be..cd73db419d28 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-14.0.0.9999.ebuild
@@ -55,6 +55,7 @@ multilib_src_configure() {
                -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
                -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
                -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
+               -DLIBUNWIND_INSTALL_HEADERS=ON
                -DLIBUNWIND_TARGET_TRIPLE="${CHOST}"
                -DLLVM_INCLUDE_TESTS=$(usex test)
 
@@ -133,10 +134,3 @@ multilib_src_test() {
        local -x LIT_PRESERVES_TMP=1
        cmake_build check-unwind
 }
-
-multilib_src_install() {
-       cmake_src_install
-
-       # install headers like sys-libs/libunwind
-       doheader "${S}"/include/*.h
-}

Reply via email to