dev-util/cmocka: Sync with Gentoo

It's from Gentoo commit 7fae600f311d01fe89de925a5ed1023e58bf7287.
This commit is contained in:
Flatcar Buildbot 2023-07-17 07:10:51 +00:00 committed by Sayan Chowdhury
parent ed1597607f
commit 64f2d00857
No known key found for this signature in database
GPG Key ID: B02399319CD05C8B

View File

@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib
inherit cmake-multilib flag-o-matic
DESCRIPTION="Unit testing framework for C"
HOMEPAGE="https://cmocka.org/"
@ -18,6 +18,8 @@ RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
multilib_src_configure() {
append-lfs-flags
local mycmakeargs=(
-DWITH_EXAMPLES=$(usex examples)
-DWITH_STATIC_LIB=$(usex static-libs)