dev-libs/libbytesize: Don't build with "-Werror" by default

Closes: https://bugs.gentoo.org/744286
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2020-09-23 15:06:01 +02:00
parent fee76418dd
commit 21c239f3bf
3 changed files with 44 additions and 2 deletions
+10 -1
View File
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit python-r1
inherit autotools python-r1
DESCRIPTION="Tiny library providing a C \"class\" for working with arbitrary big sizes in bytes"
HOMEPAGE="https://github.com/storaged-project/libbytesize"
@@ -42,6 +42,10 @@ DOCS=( README.md )
RESTRICT="test"
PATCHES=(
"${FILESDIR}/${PN}-2.4-no_Werror.patch"
)
python_do() {
if use python; then
python_foreach_impl run_in_build_dir "$@"
@@ -50,6 +54,11 @@ python_do() {
fi
}
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_with doc gtk-doc)