summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-04-16 10:34:53 +0200
committerJohannes Huber <johu@gentoo.org>2016-04-16 15:48:46 +0200
commit2080edc90dad56abf2bfeb5a66bdfe34dbf78c2d (patch)
tree370b492ce82f147894234083ab76e946ab3af0ee /kde-apps
parentnet-p2p/ktorrent: Pin slot on net-libs/libktorrent (diff)
downloadgentoo-2080edc90dad56abf2bfeb5a66bdfe34dbf78c2d.tar.gz
gentoo-2080edc90dad56abf2bfeb5a66bdfe34dbf78c2d.tar.bz2
gentoo-2080edc90dad56abf2bfeb5a66bdfe34dbf78c2d.zip
kde-apps/kde-l10n: Fix LINGUAS=""
Gentoo-bug: 580170 Package-Manager: portage-2.2.27 Signed-off-by: Johannes Huber <johu@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kde-l10n/kde-l10n-15.12.3-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/kde-apps/kde-l10n/kde-l10n-15.12.3-r1.ebuild b/kde-apps/kde-l10n/kde-l10n-15.12.3-r1.ebuild
index ee5868f9a159..e6d18c23f840 100644
--- a/kde-apps/kde-l10n/kde-l10n-15.12.3-r1.ebuild
+++ b/kde-apps/kde-l10n/kde-l10n-15.12.3-r1.ebuild
@@ -75,7 +75,7 @@ src_unpack() {
src_prepare() {
default
- [[ -n ${A} ]] || return
+ [[ ${LINGUAS} = "" ]] && return
# add all linguas to cmake
cat <<-EOF > CMakeLists.txt || die
@@ -144,15 +144,15 @@ src_configure() {
fi
kde5_src_configure
}
- [[ -n ${A} ]] && multibuild_foreach_variant myconfigure
+ [[ ${LINGUAS} != "" ]] && multibuild_foreach_variant myconfigure
}
src_compile() {
- [[ -n ${A} ]] && multibuild_foreach_variant kde5_src_compile
+ [[ ${LINGUAS} != "" ]] && multibuild_foreach_variant kde5_src_compile
}
src_test() { :; }
src_install() {
- [[ -n ${A} ]] && multibuild_foreach_variant kde5_src_install
+ [[ ${LINGUAS} != "" ]] && multibuild_foreach_variant kde5_src_install
}