diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-09-06 18:26:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-09-06 18:26:02 +0000 |
commit | 12c8f2772421eb21c132c25b93ba735cc5622197 (patch) | |
tree | 402b4a3a09d8dbf2977a847c92e893eff9ba8915 /games-arcade | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-12c8f2772421eb21c132c25b93ba735cc5622197.tar.gz gentoo-2-12c8f2772421eb21c132c25b93ba735cc5622197.tar.bz2 gentoo-2-12c8f2772421eb21c132c25b93ba735cc5622197.zip |
fix high score location. patch from Dannee McGuire via bug #236878
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/lbreakout/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/lbreakout/lbreakout-010315.ebuild | 18 |
2 files changed, 17 insertions, 9 deletions
diff --git a/games-arcade/lbreakout/ChangeLog b/games-arcade/lbreakout/ChangeLog index 6b46b25d8c71..11fbb5316c51 100644 --- a/games-arcade/lbreakout/ChangeLog +++ b/games-arcade/lbreakout/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/lbreakout -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/ChangeLog,v 1.7 2007/02/08 20:52:11 wolf31o2 Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/ChangeLog,v 1.8 2008/09/06 18:26:02 mr_bones_ Exp $ + + 06 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org> + lbreakout-010315.ebuild: + fix high score location. patch from Dannee McGuire via bug #236878 08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/games-arcade/lbreakout/lbreakout-010315.ebuild b/games-arcade/lbreakout/lbreakout-010315.ebuild index e10bcdf8c73d..d18ee35354b0 100644 --- a/games-arcade/lbreakout/lbreakout-010315.ebuild +++ b/games-arcade/lbreakout/lbreakout-010315.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-arcade/lbreakout/lbreakout-010315.ebuild,v 1.7 2007/08/08 22:04:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/lbreakout-010315.ebuild,v 1.8 2008/09/06 18:26:02 mr_bones_ Exp $ inherit games @@ -15,14 +15,18 @@ IUSE="" DEPEND=">=media-libs/libsdl-1.1.5" -src_compile() { - egamesconf --datadir="${GAMES_DATADIR_BASE}" || die - emake || die "emake failed" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/^sdir=/s:$datadir/games:$datadir:' \ + -e '/^hdir=/s:/var/lib/games:$localstatedir:' \ + configure \ + || die "sed failed" } src_install() { - # makefile fails to create this directory - dodir /var/lib/games + dodir "${GAMES_STATEDIR}" emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS README ChangeLog dohtml lbreakout/manual/* |