summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-08-07 14:20:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-08-07 14:20:03 +0000
commit84a638baeb04bc843bc60ffbefc350e54465c29a (patch)
treed42b1f6d28e0e290c6556ef1b4a923151a795c18 /x11-apps/ccsm
parentversion bump for security bug #479968 (diff)
downloadgentoo-2-84a638baeb04bc843bc60ffbefc350e54465c29a.tar.gz
gentoo-2-84a638baeb04bc843bc60ffbefc350e54465c29a.tar.bz2
gentoo-2-84a638baeb04bc843bc60ffbefc350e54465c29a.zip
respect LINGUAS
(Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-apps/ccsm')
-rw-r--r--x11-apps/ccsm/ChangeLog5
-rw-r--r--x11-apps/ccsm/ccsm-0.8.4-r4.ebuild11
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-apps/ccsm/ChangeLog b/x11-apps/ccsm/ChangeLog
index cd72af105fd5..4b1384c3b756 100644
--- a/x11-apps/ccsm/ChangeLog
+++ b/x11-apps/ccsm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-apps/ccsm
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v 1.28 2013/05/13 16:48:50 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v 1.29 2013/08/07 14:20:03 mr_bones_ Exp $
+
+ 07 Aug 2013; Michael Sterrett <mr_bones_@gentoo.org> ccsm-0.8.4-r4.ebuild:
+ respect LINGUAS
*ccsm-0.8.4-r4 (13 May 2013)
diff --git a/x11-apps/ccsm/ccsm-0.8.4-r4.ebuild b/x11-apps/ccsm/ccsm-0.8.4-r4.ebuild
index 4254d101d1f5..ff095e56595b 100644
--- a/x11-apps/ccsm/ccsm-0.8.4-r4.ebuild
+++ b/x11-apps/ccsm/ccsm-0.8.4-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r4.ebuild,v 1.1 2013/05/13 16:48:50 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r4.ebuild,v 1.2 2013/08/07 14:20:03 mr_bones_ Exp $
EAPI="5"
@@ -33,6 +33,15 @@ python_prepare_all() {
-e '/Encoding/d' \
ccsm.desktop.in || die 'sed on ccsm.desktop.in failed'
+ # correct gettext behavior
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd po ; echo *po | sed 's/\.po//g') ; do
+ if ! has ${i} ${LINGUAS} ; then
+ rm po/${i}.po || die
+ fi
+ done
+ fi
+
distutils-r1_python_prepare_all
}