sys-cluster/charliecloud: don't pass -W to sphinx-build

This effectively works like -Werror and causes build failures
such as #941591 from simple deprecation warnings.

Closes: https://bugs.gentoo.org/941591
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/39006
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Oliver Freyermuth
2024-10-15 22:31:08 +02:00
committed by Sam James
parent e037e5ca73
commit 4777ea448c
2 changed files with 4 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ DEPEND="
src_prepare() {
default
# Remove -W from SPHINXOPTS to prevent failure due to warnings
sed -i 's#^SPHINXOPTS .*=.*#SPHINXOPTS =#' doc/Makefile.am || die "Makefile patching failed"
eautoreconf
}

View File

@@ -57,6 +57,8 @@ DEPEND="
src_prepare() {
default
# Remove -W from SPHINXOPTS to prevent failure due to warnings
sed -i 's#^SPHINXOPTS .*=.*#SPHINXOPTS =#' doc/Makefile.am || die "Makefile patching failed"
eautoreconf
}