summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-03-26 07:34:31 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-03-26 07:34:31 +0000
commit2cb4bd2b56a24822240070f4768a228ad4f3055f (patch)
tree4033631d1e8614e7c40229d388470b8e30ead888 /games-board
parentStabilise 0.3 on amd64 and x86. (diff)
downloadgentoo-2-2cb4bd2b56a24822240070f4768a228ad4f3055f.tar.gz
gentoo-2-2cb4bd2b56a24822240070f4768a228ad4f3055f.tar.bz2
gentoo-2-2cb4bd2b56a24822240070f4768a228ad4f3055f.zip
Fix build with not locale files. Bug #408449
(Portage version: 2.1.10.51/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/mt_gtk_client/ChangeLog7
-rw-r--r--games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild8
2 files changed, 10 insertions, 5 deletions
diff --git a/games-board/mt_gtk_client/ChangeLog b/games-board/mt_gtk_client/ChangeLog
index 2f8af9cb1d13..6488d4a4ff01 100644
--- a/games-board/mt_gtk_client/ChangeLog
+++ b/games-board/mt_gtk_client/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/mt_gtk_client
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/mt_gtk_client/ChangeLog,v 1.5 2010/11/08 19:56:22 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/mt_gtk_client/ChangeLog,v 1.6 2012/03/26 07:34:31 tupone Exp $
+
+ 26 Mar 2012; Tupone Alfredo <tupone@gentoo.org> mt_gtk_client-0.1.98.ebuild:
+ Fix build with not locale files. Bug #408449 by Piotr Szymaniak
08 Nov 2010; Markos Chandras <hwoarang@gentoo.org>
mt_gtk_client-0.1.98.ebuild:
diff --git a/games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild b/games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild
index fbc2788744ae..6a7db24cdf8b 100644
--- a/games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild
+++ b/games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild,v 1.8 2011/01/24 22:25:30 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/mt_gtk_client/mt_gtk_client-0.1.98.ebuild,v 1.9 2012/03/26 07:34:31 tupone Exp $
EAPI=2
inherit games
@@ -29,7 +29,9 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
- mv "${D}"/${GAMES_DATADIR}/locale "${D}"/usr/share/ || die
+ if [[ -d "${D}"/${GAMES_DATADIR}/locale ]] ; then
+ mv "${D}"/${GAMES_DATADIR}/locale "${D}"/usr/share/ || die
+ fi
dodoc AUTHORS ChangeLog NEWS README TODO
prepgamesdirs
}