From a084b201f43403cf4e543fa60568d995cdddbe35 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Fri, 3 Nov 2006 00:41:24 +0000 Subject: Add nls dependencies (Portage version: 2.1.2_rc1-r2) --- games-board/gnubg/ChangeLog | 5 ++++- games-board/gnubg/gnubg-0.14.3-r1.ebuild | 15 ++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'games-board/gnubg') diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog index 69acda64fc2d..4927b6672926 100644 --- a/games-board/gnubg/ChangeLog +++ b/games-board/gnubg/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/gnubg # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.27 2006/10/22 22:46:38 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.28 2006/11/03 00:41:24 nyhm Exp $ + + 03 Nov 2006; Tristan Heaven gnubg-0.14.3-r1.ebuild: + Add nls dependencies 22 Oct 2006; gnubg-0.14.3-r1.ebuild: Meant to put ~all in previous commit. So x86 and ppc64 -> testing diff --git a/games-board/gnubg/gnubg-0.14.3-r1.ebuild b/games-board/gnubg/gnubg-0.14.3-r1.ebuild index aa8763a0eae2..9b8ce9d9c16b 100644 --- a/games-board/gnubg/gnubg-0.14.3-r1.ebuild +++ b/games-board/gnubg/gnubg-0.14.3-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-board/gnubg/gnubg-0.14.3-r1.ebuild,v 1.2 2006/10/22 22:46:38 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-0.14.3-r1.ebuild,v 1.3 2006/11/03 00:41:24 nyhm Exp $ inherit flag-o-matic eutils games @@ -21,11 +21,9 @@ IUSE="arts esd gdbm gtk guile nas nls opengl python readline X" RESTRICT="test" # FIXME does this need to DEPEND on netpbm? -DEPEND="dev-libs/glib - >=media-libs/freetype-2 +RDEPEND=">=media-libs/freetype-2 media-libs/libpng dev-libs/libxml2 - sys-libs/zlib arts? ( kde-base/arts ) esd? ( media-sound/esound ) gdbm? ( sys-libs/gdbm ) @@ -37,15 +35,22 @@ DEPEND="dev-libs/glib ) guile? ( dev-util/guile ) nas? ( media-libs/nas ) + nls? ( virtual/libintl ) python? ( dev-lang/python ) readline? ( sys-libs/readline ) X? ( x11-libs/libXmu )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" src_unpack() { unpack ${A} cd "${S}" mv ../${PN}.weights-${WPV} "${S}/${PN}.weights" mv ../*bd . + sed -i 's:$(localedir):/usr/share/locale:' \ + $(find . -name 'Makefile.in*') \ + || die "sed failed" epatch \ "${FILESDIR}/${P}"-gcc4.patch \ "${FILESDIR}/${P}"-64bits.patch \ @@ -99,7 +104,7 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" insinto "${GAMES_DATADIR}/${PN}" doins ${PN}.weights *bd || die "doins failed" dodoc AUTHORS README NEWS -- cgit v1.2.3-65-gdbad