projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e95f84c
)
kde5.eclass: improve handling of nls USE flag
author
Michael Palimaka
<kensington@gentoo.org>
Wed, 27 Apr 2016 18:36:08 +0000
(
04:36
+1000)
committer
Michael Palimaka
<kensington@gentoo.org>
Sat, 30 Apr 2016 18:14:39 +0000
(
04:14
+1000)
Linguas was being removed unconditionally on packages without an nls USE flag.
eclass/kde5.eclass
patch
|
blob
|
history
diff --git
a/eclass/kde5.eclass
b/eclass/kde5.eclass
index 3b454efe4874aa889549461012f587475fe66f66..4d0b2a9351e458c8915af36d7528289c9d96b23e 100644
(file)
--- a/
eclass/kde5.eclass
+++ b/
eclass/kde5.eclass
@@
-392,8
+392,8
@@
kde5_src_prepare() {
fi
# drop translations when nls is not wanted
- if [[ -d po ]] &&
! use_if_i
use nls ; then
- rm -r
f
po || die
+ if [[ -d po ]] &&
in_iuse nls && !
use nls ; then
+ rm -r po || die
fi
# enable only the requested translations