mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
net-irc/weechat: die in tests if en_US.UTF-8 locale not found
Closes: https://bugs.gentoo.org/754117 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -142,7 +142,12 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if $(locale -a | grep -iq "en_US\.utf.*8"); then
|
||||
cmake_src_test -V
|
||||
else
|
||||
eerror "en_US.UTF-8 locale is required to run ${PN}'s ${FUNCNAME}"
|
||||
die "required locale missing"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user