From 548f4ee19c6b0fe0d5e87e84a5a82c421229e0ce Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Fri, 20 May 2016 21:46:11 +0200 Subject: [PATCH] kde5.eclass: install all translations when LINGUAS is undefined This mirrors the behaviour of the gettext autotools macros. Gentoo-bug: 581382 Signed-off-by: Johannes Huber --- eclass/kde5.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 377d2c566734..eaffb9e27cf9 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -397,7 +397,7 @@ kde5_src_prepare() { # enable only the requested translations # when required - if [[ -d po ]] ; then + if [[ -d po && -v LINGUAS ]] ; then pushd po > /dev/null || die for lang in *; do if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then -- 2.26.2