summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-10-07 17:21:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-10-07 17:21:27 +0000
commit5110163b032e8cc927d0f30895d52ef7b3651e05 (patch)
tree295e6855dea314795d69d471be958752e042eade /games-misc
parentRemoved linking against -lf2c with gfortran since platon misbehaves otherwise... (diff)
downloadgentoo-2-5110163b032e8cc927d0f30895d52ef7b3651e05.tar.gz
gentoo-2-5110163b032e8cc927d0f30895d52ef7b3651e05.tar.bz2
gentoo-2-5110163b032e8cc927d0f30895d52ef7b3651e05.zip
avoid parallel make install failure (bug #239711); tidy
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/OilWar/ChangeLog8
-rw-r--r--games-misc/OilWar/OilWar-1.2.1-r1.ebuild15
2 files changed, 17 insertions, 6 deletions
diff --git a/games-misc/OilWar/ChangeLog b/games-misc/OilWar/ChangeLog
index 75ed360da4df..727b51e981e7 100644
--- a/games-misc/OilWar/ChangeLog
+++ b/games-misc/OilWar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/OilWar
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/OilWar/ChangeLog,v 1.8 2007/05/23 06:08:16 tupone Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/OilWar/ChangeLog,v 1.9 2008/10/07 17:21:27 mr_bones_ Exp $
+
+ 07 Oct 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ OilWar-1.2.1-r1.ebuild:
+ avoid parallel make install failure (bug #239711); tidy
*OilWar-1.2.1-r1 (23 May 2007)
diff --git a/games-misc/OilWar/OilWar-1.2.1-r1.ebuild b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
index d9dfb15534f8..33a2ba4d46be 100644
--- a/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
+++ b/games-misc/OilWar/OilWar-1.2.1-r1.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-misc/OilWar/OilWar-1.2.1-r1.ebuild,v 1.2 2007/05/23 11:39:31 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/OilWar/OilWar-1.2.1-r1.ebuild,v 1.3 2008/10/07 17:21:27 mr_bones_ Exp $
inherit eutils games
@@ -19,9 +19,15 @@ DEPEND="media-libs/libsdl
media-libs/sdl-mixer"
src_unpack() {
- unpack ${A}
+ unpack ${P}.tar.gz
cd "${S}"
- sed -i '/^datafiledir/s:/games/:/:' Makefile.in || die "sed failed"
+ sed -i \
+ -e '/^CXXCOMPILE/s:$(CPPFLAGS):$(SDL_CFLAGS):' \
+ -e '/^datafiledir/s:/games/:/:' \
+ -e '/install-data-am:/s:\\::' \
+ -e '/install-data-local$/d' \
+ Makefile.in \
+ || die "sed failed"
}
src_compile() {
@@ -34,5 +40,6 @@ src_install() {
dodoc AUTHORS ChangeLog NEWS README TODO
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry oilwar ${PN}
+ fperms 664 "${GAMES_STATEDIR}/oilwar.scores"
prepgamesdirs
}