sci-mathematics/libpoly: remove -Werror

Closes: https://bugs.gentoo.org/887109
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-12-19 19:41:35 +01:00
parent b0313757ed
commit d5a1050d3e

View File

@@ -34,6 +34,14 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
sed -i "s| -Werror||g" \
"${S}"/src/CMakeLists.txt \
"${S}"/test/polyxx/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DLIBPOLY_BUILD_PYTHON_API=$(usex python)