dev-util/breakpad: do not build tools on musl

Closes: https://bugs.gentoo.org/861404
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-05-20 22:28:30 +02:00
parent 8d7f511775
commit 3eb56416e3
2 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="BSD BSD-4"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
IUSE="test tools"
RDEPEND="
net-misc/curl
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
"
BDEPEND="test? ( dev-cpp/gtest )"
RESTRICT="!test? ( test )"
REQUIRED_USE="elibc_musl? ( !tools )"
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
@@ -51,5 +52,6 @@ src_prepare() {
src_configure() {
econf \
--enable-system-test-libs \
$(use_enable tools) \
|| die
}
+3
View File
@@ -5,6 +5,9 @@
<email>tupone@gentoo.org</email>
<name>Tupone Alfredo</name>
</maintainer>
<use>
<flag name="tools">Build tools</flag>
</use>
<upstream>
<remote-id type="github">google/breakpad</remote-id>
</upstream>