summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-05-20 22:27:59 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-05-20 22:28:30 +0200
commit3eb56416e3eac83b4eef8fc79b6d8988f6fbb64c (patch)
treeaf34638cfc76ec6d3a39cf7f828d2396853a21e9 /dev-util/breakpad
parentnet-wireless/urh: drop 2.9.5 (diff)
downloadgentoo-3eb56416e3eac83b4eef8fc79b6d8988f6fbb64c.tar.gz
gentoo-3eb56416e3eac83b4eef8fc79b6d8988f6fbb64c.tar.bz2
gentoo-3eb56416e3eac83b4eef8fc79b6d8988f6fbb64c.zip
dev-util/breakpad: do not build tools on musl
Closes: https://bugs.gentoo.org/861404 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-util/breakpad')
-rw-r--r--dev-util/breakpad/breakpad-2023.01.27.ebuild6
-rw-r--r--dev-util/breakpad/metadata.xml3
2 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/breakpad/breakpad-2023.01.27.ebuild b/dev-util/breakpad/breakpad-2023.01.27.ebuild
index 398f79e86f23..f577690b56e5 100644
--- a/dev-util/breakpad/breakpad-2023.01.27.ebuild
+++ b/dev-util/breakpad/breakpad-2023.01.27.ebuild
@@ -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
}
diff --git a/dev-util/breakpad/metadata.xml b/dev-util/breakpad/metadata.xml
index 99c21f0c89d6..746ae36c4204 100644
--- a/dev-util/breakpad/metadata.xml
+++ b/dev-util/breakpad/metadata.xml
@@ -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>