diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-10-09 21:46:05 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-10-09 21:46:05 +0000 |
commit | 9df79dcbfb0dc83782f7fd8a492a644c6bc9e721 (patch) | |
tree | 721e04aaf336aa72eb5f259edc8a64311bd00ea4 /games-strategy/lgeneral | |
parent | Add gtk+-2 to DEPEND (diff) | |
download | gentoo-2-9df79dcbfb0dc83782f7fd8a492a644c6bc9e721.tar.gz gentoo-2-9df79dcbfb0dc83782f7fd8a492a644c6bc9e721.tar.bz2 gentoo-2-9df79dcbfb0dc83782f7fd8a492a644c6bc9e721.zip |
Fixing making of lgeneral.po. Bug #146602
(Portage version: 2.1.1)
Diffstat (limited to 'games-strategy/lgeneral')
-rw-r--r-- | games-strategy/lgeneral/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/lgeneral/files/lgeneral-1.2_beta12-gettext.patch | 16 | ||||
-rw-r--r-- | games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild | 6 |
3 files changed, 24 insertions, 4 deletions
diff --git a/games-strategy/lgeneral/ChangeLog b/games-strategy/lgeneral/ChangeLog index e1304bb9a638..5cb4cdf42fd9 100644 --- a/games-strategy/lgeneral/ChangeLog +++ b/games-strategy/lgeneral/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/lgeneral # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.21 2006/08/26 20:38:33 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.22 2006/10/09 21:46:05 tupone Exp $ + + 09 Oct 2006; <tupone@gentoo.org> +files/lgeneral-1.2_beta12-gettext.patch, + lgeneral-1.2_beta12-r1.ebuild: + Fixing making of lgeneral.po. Bug #146602 by Sascha Geschwandtner *lgeneral-1.2_beta12-r1 (26 Aug 2006) diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-gettext.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-gettext.patch new file mode 100644 index 000000000000..c5eebe7ce71f --- /dev/null +++ b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-gettext.patch @@ -0,0 +1,16 @@ +--- po/lgeneral/Makefile.in.in.old 2006-10-09 22:55:07.000000000 +0200 ++++ po/lgeneral/Makefile.in.in 2006-10-09 22:57:28.000000000 +0200 +@@ -99,11 +99,8 @@ + $(XGETTEXT) $(XGETTEXTFLAGS) --default-domain=$(PACKAGE) \ + --directory=$(top_srcdir) --add-comments \ + --keyword=tr --keyword=TR_NOOP \ +- --files-from=$(srcdir)/POTFILES.in \ +- && test ! -f $(PACKAGE).po \ +- || ( rm -f $(srcdir)/$(PACKAGE).pot \ +- && $(MSGCONV) $(MSGCONVFLAGS) $(PACKAGE).po > $(srcdir)/$(PACKAGE).pot 2> /dev/null \ +- && rm -f $(PACKAGE).po ) ++ --files-from=$(srcdir)/POTFILES.in ++ $(MSGCONV) $(MSGCONVFLAGS) $(PACKAGE).po > $(srcdir)/$(PACKAGE).pot || true + + $(srcdir)/cat-id-tbl.c: $(srcdir)/stamp-cat-id; @: + $(srcdir)/stamp-cat-id: $(srcdir)/$(PACKAGE).pot diff --git a/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild b/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild index 73f47ff4b38c..766733df92cc 100644 --- a/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild +++ b/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild,v 1.1 2006/08/26 20:38:33 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2_beta12-r1.ebuild,v 1.2 2006/10/09 21:46:05 tupone Exp $ inherit eutils autotools games @@ -25,9 +25,9 @@ S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/${P}"-gentoo-path.patch + epatch "${FILESDIR}/${P}"-gentoo-path.patch \ + "${FILESDIR}"/${P}-gettext.patch eautoreconf - touch po/lgeneral/lgeneral.pot # Build a temporary lgc-pg that knows about /var/tmp/portage in work/lgc-pg: cp -pPR "${S}" "${WORKDIR}/lgc-pg" || die "cp failed." sed -i \ |