projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e899bf7
)
kde5.eclass: Drop translations when nls not wanted
author
Johannes Huber
<johu@gentoo.org>
Sat, 23 Apr 2016 18:01:13 +0000
(20:01 +0200)
committer
Johannes Huber
<johu@gentoo.org>
Sat, 23 Apr 2016 18:01:13 +0000
(20:01 +0200)
Gentoo-bug: 580720
eclass/kde5.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5.eclass
b/eclass/kde5.eclass
index 675023b6e515de1e21602d9a6a3729f2251cccf2..c880cee9b56865597fce39ef1c97317c3ffc87ef 100644
(file)
--- a/
eclass/kde5.eclass
+++ b/
eclass/kde5.eclass
@@
-391,6
+391,11
@@
kde5_src_prepare() {
fi
fi
+ # drop translations when nls is not wanted
+ if [[ -d po ]] && ! use_if_isue nls ; then
+ rm -rf po || die
+ fi
+
# enable only the requested translations
# when required
if [[ -d po ]] ; then