summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-12 03:33:02 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-11-12 03:33:19 -0800
commit4a8c3d88d8a156a6eea09aaccc52e944c4f9b096 (patch)
treeb81607681935b91c242b865c614d381293f8df7c
parentnet-irc/weechat: die in tests if en_US.UTF-8 locale not found (diff)
downloadgentoo-4a8c3d88d8a156a6eea09aaccc52e944c4f9b096.tar.gz
gentoo-4a8c3d88d8a156a6eea09aaccc52e944c4f9b096.tar.bz2
gentoo-4a8c3d88d8a156a6eea09aaccc52e944c4f9b096.zip
net-irc/weechat: sync live ebuild
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--net-irc/weechat/weechat-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild
index 2f3c0bd601d..b33c433ae6d 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -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() {