summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-04-27 08:22:38 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-04-27 08:22:38 +0000
commite1592bef51ab45ac93870149e710962f9c75d510 (patch)
tree9f29310133a43d17c54bd555859629ea4f51a18f /dev-games
parentBump (diff)
downloadgentoo-2-e1592bef51ab45ac93870149e710962f9c75d510.tar.gz
gentoo-2-e1592bef51ab45ac93870149e710962f9c75d510.tar.bz2
gentoo-2-e1592bef51ab45ac93870149e710962f9c75d510.zip
Fix linguas patch. Bug #413283
(Portage version: 2.1.10.57/cvs/Linux i686)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ggz-client-libs/ChangeLog7
-rw-r--r--dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch15
-rw-r--r--dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild5
3 files changed, 24 insertions, 3 deletions
diff --git a/dev-games/ggz-client-libs/ChangeLog b/dev-games/ggz-client-libs/ChangeLog
index 76d518fd7474..97d77bc519ca 100644
--- a/dev-games/ggz-client-libs/ChangeLog
+++ b/dev-games/ggz-client-libs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/ggz-client-libs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.37 2012/04/26 21:55:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ChangeLog,v 1.38 2012/04/27 08:22:38 tupone Exp $
+
+ 27 Apr 2012; Tupone Alfredo <tupone@gentoo.org>
+ ggz-client-libs-0.0.14.1.ebuild,
+ files/ggz-client-libs-0.0.14.1-linguas.patch:
+ Fix linguas patch. Bug #413283 by far jump
26 Apr 2012; Michael Sterrett <mr_bones_@gentoo.org>
ggz-client-libs-0.0.14.1.ebuild:
diff --git a/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch b/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch
index 18428f220bee..e8f18a063253 100644
--- a/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch
+++ b/dev-games/ggz-client-libs/files/ggz-client-libs-0.0.14.1-linguas.patch
@@ -14,3 +14,18 @@
done
@touch $(STAMP)
+@@ -35,12 +35,14 @@
+
+ install-data-local:
+ @for j in $(MOFILES); do \
++ if [[ -f $$j ]]; then \
+ k=$$(basename $$j); \
+ country=`echo $$k | cut -d "." -f 1`; \
+ dir=${DESTDIR}$(prefix)/share/locale/$$country/LC_MESSAGES; \
+ echo "installing $$dir/$(CATALOG).mo ($$k)"; \
+ install -d $$dir; \
+ cp $$j $$dir/$(CATALOG).mo; \
++ fi \
+ done
+
+ uninstall-local:
diff --git a/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild b/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
index 67ebb643e504..7b44112d58ab 100644
--- a/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild
+++ b/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.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/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild,v 1.18 2012/04/26 21:55:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ggz-client-libs/ggz-client-libs-0.0.14.1.ebuild,v 1.19 2012/04/27 08:22:38 tupone Exp $
EAPI=4
inherit base autotools games-ggz
@@ -19,7 +19,8 @@ RDEPEND="~dev-games/libggz-${PV}
DEPEND="${RDEPEND}
sys-devel/gettext"
-PATCHES=( "${FILESDIR}"/${P}-destdir.patch )
+PATCHES=( "${FILESDIR}"/${P}-destdir.patch
+ "${FILESDIR}"/${P}-linguas.patch )
src_prepare() {
base_src_prepare