diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-24 00:45:11 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-02-24 00:45:11 +0000 |
commit | 302da847157952a5e829677c347c00b5c5503586 (patch) | |
tree | 31f6237a73306d9f9e3bc8f55088fae4c1f1a21f /games-sports/vdrift | |
parent | Switch to eapi2 so the built_with_use can be replaced by a proper use-depend.... (diff) | |
download | gentoo-2-302da847157952a5e829677c347c00b5c5503586.tar.gz gentoo-2-302da847157952a5e829677c347c00b5c5503586.tar.bz2 gentoo-2-302da847157952a5e829677c347c00b5c5503586.zip |
EAPI=2; pass -j from MAKEOPTS to scons
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r-- | games-sports/vdrift/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/vdrift/vdrift-20080805.ebuild | 16 |
2 files changed, 14 insertions, 10 deletions
diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog index 58d0bb621b69..5ed182780f53 100644 --- a/games-sports/vdrift/ChangeLog +++ b/games-sports/vdrift/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/vdrift -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.5 2008/08/24 21:03:58 mr_bones_ Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.6 2009/02/24 00:45:11 mr_bones_ Exp $ + + 24 Feb 2009; Michael Sterrett <mr_bones_@gentoo.org> + vdrift-20080805.ebuild: + EAPI=2; pass -j from MAKEOPTS to scons *vdrift-20080805 (24 Aug 2008) diff --git a/games-sports/vdrift/vdrift-20080805.ebuild b/games-sports/vdrift/vdrift-20080805.ebuild index 46cb2032f183..9c72d6b646b5 100644 --- a/games-sports/vdrift/vdrift-20080805.ebuild +++ b/games-sports/vdrift/vdrift-20080805.ebuild @@ -1,8 +1,9 @@ -# 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/vdrift/vdrift-20080805.ebuild,v 1.1 2008/08/24 21:03:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20080805.ebuild,v 1.2 2009/02/24 00:45:11 mr_bones_ Exp $ -inherit eutils toolchain-funcs games +EAPI=2 +inherit eutils games MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6} DESCRIPTION="A driving simulation made with drift racing in mind" @@ -32,9 +33,7 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${PN}-${PV:4:2}-${PV:6:2}-${PV:2:2} -src_unpack() { - unpack ${MY_P}-src.tar.bz2 - cd "${S}" +src_prepare() { sed -i \ -e '/-O2/ s/\(\[.*\]\)/[]/' \ SConstruct \ @@ -46,14 +45,15 @@ src_unpack() { } src_compile() { - tc-export CC CXX + local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/") cd bullet-2.66 ./configure - jam bulletcollision bulletmath + jam bulletcollision bulletmath || die cd "${S}" scons \ + ${sconsopts} \ NLS=$(use nls && echo 1 || echo 0) \ destdir="${D}" \ bindir="${GAMES_BINDIR}" \ |