dev-cpp/cpptrace: added unwind USE flag

Signed-off-by: jwihardi <allarkvarkk@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45985
Closes: https://github.com/gentoo/gentoo/pull/45985
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
jwihardi
2026-03-21 21:03:35 -04:00
committed by James Le Cuirot
parent 22a64e7c07
commit a682ee1f5e

View File

@@ -11,12 +11,13 @@ SRC_URI="https://github.com/jeremy-rifkin/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="test"
IUSE="unwind test"
RESTRICT="!test? ( test )"
RDEPEND="
app-arch/zstd:=
dev-libs/libdwarf:=
unwind? ( sys-libs/libunwind:= )
"
DEPEND="
${RDEPEND}
@@ -38,6 +39,7 @@ src_configure() {
-DCPPTRACE_USE_EXTERNAL_GTEST=yes
-DCPPTRACE_USE_EXTERNAL_LIBDWARF=yes
-DCPPTRACE_USE_EXTERNAL_ZSTD=yes
-DCPPTRACE_UNWIND_WITH_LIBUNWIND=$(usex unwind)
)
cmake_src_configure
}