summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-02 14:29:31 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-02 14:29:31 +0000
commit0cf6ede0af35b59d0681639c9abf2c3974778ae5 (patch)
tree5026ac6de4836d96e982ba74d09485ba2c6aa023 /games-arcade/criticalmass
parentuse epatch (diff)
downloadgentoo-2-0cf6ede0af35b59d0681639c9abf2c3974778ae5.tar.gz
gentoo-2-0cf6ede0af35b59d0681639c9abf2c3974778ae5.tar.bz2
gentoo-2-0cf6ede0af35b59d0681639c9abf2c3974778ae5.zip
use sed -i
Diffstat (limited to 'games-arcade/criticalmass')
-rw-r--r--games-arcade/criticalmass/criticalmass-0.98.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/games-arcade/criticalmass/criticalmass-0.98.ebuild b/games-arcade/criticalmass/criticalmass-0.98.ebuild
index 66899d76af0a..7bb0935c76e5 100644
--- a/games-arcade/criticalmass/criticalmass-0.98.ebuild
+++ b/games-arcade/criticalmass/criticalmass-0.98.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/criticalmass/criticalmass-0.98.ebuild,v 1.3 2004/02/20 06:20:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/criticalmass/criticalmass-0.98.ebuild,v 1.4 2004/03/02 14:27:38 vapier Exp $
inherit games
DESCRIPTION="SDL/OpenGL space shoot'em up game"
HOMEPAGE="http://criticalmass.sourceforge.net/"
SRC_URI="mirror://sourceforge/criticalmass/CriticalMass-${PV}.tar.bz2"
-RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
+IUSE=""
DEPEND="media-libs/sdl-mixer
media-libs/sdl-image
@@ -21,11 +21,10 @@ S=${WORKDIR}/CriticalMass-${PV}
src_compile() {
egamesconf || die
- for d in game puckman tinyxml tools utilities ; do
- cp ${d}/Makefile{,.orig}
- sed -e "/^CXXFLAGS =.*$/s:$: ${CXXFLAGS}:" \
- ${d}/Makefile.orig > ${d}/Makefile
- done
+ sed -i \
+ -e "/^CXXFLAGS =.*$/s:$: ${CXXFLAGS}:" \
+ {game,puckman,tinyxml,tools,utilities}/Makefile \
+ || die
emake || die
}