commit: 0510e917c31b3097087f08d4932c8347ee1efaf9
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 18:47:38 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 18:49:00 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0510e917
kde5.eclass: install all translations when LINGUAS is undefined
This mirrors the behaviour of the gettext autotools macros.
Gentoo-bug: 581382
eclass/kde5.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 80f8a7d..7620966 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -472,7 +472,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