diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-02-11 13:31:26 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-02-11 13:31:26 +0000 |
commit | 1ad0dbc319f1c27ccbf66934e727bdaab9164129 (patch) | |
tree | 74d6ddd36868de0af4b3c166370818c9c3c054ac /games-sports/gracer/gracer-0.1.5.ebuild | |
parent | Add files repomon forgot to commit, Bug #258584. (diff) | |
download | historical-1ad0dbc319f1c27ccbf66934e727bdaab9164129.tar.gz historical-1ad0dbc319f1c27ccbf66934e727bdaab9164129.tar.bz2 historical-1ad0dbc319f1c27ccbf66934e727bdaab9164129.zip |
Fix --as-needed bug #247473
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64
Diffstat (limited to 'games-sports/gracer/gracer-0.1.5.ebuild')
-rw-r--r-- | games-sports/gracer/gracer-0.1.5.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/games-sports/gracer/gracer-0.1.5.ebuild b/games-sports/gracer/gracer-0.1.5.ebuild index 76ad27115b3f..ea8e1a33fb74 100644 --- a/games-sports/gracer/gracer-0.1.5.ebuild +++ b/games-sports/gracer/gracer-0.1.5.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/gracer-0.1.5.ebuild,v 1.17 2008/01/19 00:43:31 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/gracer-0.1.5.ebuild,v 1.18 2009/02/11 13:31:26 tupone Exp $ +EAPI=2 inherit eutils games DESCRIPTION="3D motor sports simulator" @@ -24,15 +25,14 @@ DEPEND="x11-libs/libXi media-libs/libpng media-libs/plib" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${PV}-gldefs.patch \ "${FILESDIR}"/${PN}-gcc-3.4.patch \ - "${FILESDIR}/${P}"-gcc41.patch + "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}"/${P}-as-needed.patch } -src_compile() { +src_configure() { egamesconf \ --enable-gif \ --enable-jpeg \ @@ -42,7 +42,6 @@ src_compile() { sed -i \ -e 's:-lplibsl:-lplibsl -lplibul:' $(find -name Makefile) \ || die "sed Makefiles failed" - emake || die "emake failed" } src_install() { |