summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/darktable/darktable-2.6.1.ebuild')
-rw-r--r--media-gfx/darktable/darktable-2.6.1.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/media-gfx/darktable/darktable-2.6.1.ebuild b/media-gfx/darktable/darktable-2.6.1.ebuild
index 9aad79d520f..6a8e3830f4d 100644
--- a/media-gfx/darktable/darktable-2.6.1.ebuild
+++ b/media-gfx/darktable/darktable-2.6.1.ebuild
@@ -111,11 +111,13 @@ src_install() {
cmake-utils_src_install
use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
- for lang in ${LANGS} ; do
- if ! use l10n_${lang}; then
- rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
- fi
- done
+ if use nls ; then
+ for lang in ${LANGS} ; do
+ if ! use l10n_${lang}; then
+ rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
+ fi
+ done
+ fi
if use pax_kernel && use opencl ; then
pax-mark Cm "${ED}"/usr/bin/${PN} || die