summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-01-01 16:55:32 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-01-01 16:55:32 +0000
commit020e70d2a496663eaf47d6d21d33d9a53aa77aa6 (patch)
treed83c7e73b76c6a8443d13b1460a593dc3e5ce121 /games-puzzle/lpairs
parentMarked ~ppc for bug #201983. (diff)
downloadgentoo-2-020e70d2a496663eaf47d6d21d33d9a53aa77aa6.tar.gz
gentoo-2-020e70d2a496663eaf47d6d21d33d9a53aa77aa6.tar.bz2
gentoo-2-020e70d2a496663eaf47d6d21d33d9a53aa77aa6.zip
Add gettext dependencies
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'games-puzzle/lpairs')
-rw-r--r--games-puzzle/lpairs/ChangeLog7
-rw-r--r--games-puzzle/lpairs/lpairs-1.0.3.ebuild19
2 files changed, 21 insertions, 5 deletions
diff --git a/games-puzzle/lpairs/ChangeLog b/games-puzzle/lpairs/ChangeLog
index 29c05cbd5b74..eed75240bf02 100644
--- a/games-puzzle/lpairs/ChangeLog
+++ b/games-puzzle/lpairs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/lpairs
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/lpairs/ChangeLog,v 1.11 2007/11/27 22:15:00 mr_bones_ Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/lpairs/ChangeLog,v 1.12 2008/01/01 16:55:32 nyhm Exp $
+
+ 01 Jan 2008; Tristan Heaven <nyhm@gentoo.org> lpairs-1.0.3.ebuild:
+ Add gettext dependencies
*lpairs-1.0.3 (27 Nov 2007)
diff --git a/games-puzzle/lpairs/lpairs-1.0.3.ebuild b/games-puzzle/lpairs/lpairs-1.0.3.ebuild
index 36a2ed68e998..55ccffcb1f9b 100644
--- a/games-puzzle/lpairs/lpairs-1.0.3.ebuild
+++ b/games-puzzle/lpairs/lpairs-1.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/lpairs/lpairs-1.0.3.ebuild,v 1.1 2007/11/27 22:15:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/lpairs/lpairs-1.0.3.ebuild,v 1.2 2008/01/01 16:55:32 nyhm Exp $
inherit games
@@ -13,7 +13,20 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="nls"
-DEPEND="media-libs/libsdl"
+RDEPEND="media-libs/libsdl
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:$localedir:/usr/share/locale:' \
+ -e 's:$(localedir):/usr/share/locale:' \
+ configure po/Makefile.in.in \
+ || die "sed failed"
+}
src_compile() {
egamesconf \