dev-lang/gleam: fix compile

* don't treat warnings as errors
* specify QA_FLAGS_IGNORED

Closes: https://bugs.gentoo.org/780999
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2021-04-11 22:37:04 +12:00
parent ea22d608d5
commit 1e3218cc45

View File

@@ -259,3 +259,15 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD BSL-1.1 CC0-1.0 MI
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
QA_FLAGS_IGNORED="usr/bin/gleam"
src_configure() {
export RUSTFLAGS="${RUSTFLAGS} --cap-lints warn"
cargo_src_configure
}
src_install() {
cargo_src_install
einstalldocs
}