diff options
Diffstat (limited to 'games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild')
-rw-r--r-- | games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild b/games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild index 64852d7a7597..6ed36b909bb4 100644 --- a/games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild +++ b/games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild,v 1.1 2007/05/31 20:55:43 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/searchandrescue/searchandrescue-0.8.2-r1.ebuild,v 1.2 2009/02/16 17:53:24 mr_bones_ Exp $ +EAPI=2 inherit eutils games MY_PN=SearchAndRescue @@ -33,7 +34,9 @@ src_unpack() { unpack ${MY_PN}-${PV}.tar.bz2 mkdir data ; cd data unpack ${MY_PN}-data-${PV}.tar.bz2 - cd "${S}" +} + +src_prepare() { epatch "${FILESDIR}"/${P}-gcc33.patch \ "${FILESDIR}"/${P}-gcc41.patch \ "${FILESDIR}"/${P}-gcc412.patch @@ -47,7 +50,7 @@ src_unpack() { || die "sed failed" } -src_compile() { +src_configure() { local myconf use joystick \ @@ -59,6 +62,9 @@ src_compile() { --prefix="${GAMES_PREFIX}" \ ${myconf} \ || die +} + +src_compile() { emake -j1 || die "emake failed" } |