summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-04-14 19:21:00 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-04-14 19:21:00 +0000
commit039576782ca1a76e692a7313768dbc396dd82ce8 (patch)
treec6268e9e6b70ba76cf4922ea8684501730469942 /games-rpg
parentAdd ~amd64-linux keyword. (diff)
downloadgentoo-2-039576782ca1a76e692a7313768dbc396dd82ce8.tar.gz
gentoo-2-039576782ca1a76e692a7313768dbc396dd82ce8.tar.bz2
gentoo-2-039576782ca1a76e692a7313768dbc396dd82ce8.zip
Honor LINGUAS. Bug #408771
(Portage version: 2.1.10.56/cvs/Linux i686)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/mana/ChangeLog5
-rw-r--r--games-rpg/mana/mana-0.6.0.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/games-rpg/mana/ChangeLog b/games-rpg/mana/ChangeLog
index e469214d9932..4b5525072239 100644
--- a/games-rpg/mana/ChangeLog
+++ b/games-rpg/mana/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/mana
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/ChangeLog,v 1.5 2012/02/17 06:26:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/ChangeLog,v 1.6 2012/04/14 19:21:00 tupone Exp $
+
+ 14 Apr 2012; Tupone Alfredo <tupone@gentoo.org> mana-0.6.0.ebuild:
+ Honor LINGUAS. Bug #408771 by Piotr Szymaniak
*mana-0.6.0 (17 Feb 2012)
diff --git a/games-rpg/mana/mana-0.6.0.ebuild b/games-rpg/mana/mana-0.6.0.ebuild
index f9c73498c552..17e57ee73c71 100644
--- a/games-rpg/mana/mana-0.6.0.ebuild
+++ b/games-rpg/mana/mana-0.6.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/mana-0.6.0.ebuild,v 1.1 2012/02/17 06:26:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/mana/mana-0.6.0.ebuild,v 1.2 2012/04/14 19:21:00 tupone Exp $
EAPI=2
inherit eutils cmake-utils games
@@ -45,6 +45,12 @@ src_prepare() {
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
CMakeLists.txt \
|| die "sed failed"
+
+ if [[ ${LINGUAS+set} ]]; then
+ for lang in $(grep -v ^# po/LINGUAS); do
+ has $lang $LINGUAS || sed -i "s:^${lang}:#${lang}:" po/LINGUAS
+ done
+ fi
}
src_configure() {