From 2ce6c77bd34c7861e8e091156adf9e835d43f8a9 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 14 Oct 2010 01:59:17 +0000 Subject: use scons-utils (Portage version: 2.1.8.3/cvs/Linux i686) --- games-sports/vdrift/ChangeLog | 6 +++++- games-sports/vdrift/vdrift-20090615.ebuild | 14 +++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'games-sports/vdrift') diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog index 840bce0e96d7..138fc206b0d8 100644 --- a/games-sports/vdrift/ChangeLog +++ b/games-sports/vdrift/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/vdrift # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.14 2010/10/06 15:05:12 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.15 2010/10/14 01:59:17 mr_bones_ Exp $ + + 14 Oct 2010; Michael Sterrett + vdrift-20090615.ebuild: + use scons-utils 06 Oct 2010; Tupone Alfredo vdrift-20090615.ebuild, +files/vdrift-20090615-ldflags.patch: diff --git a/games-sports/vdrift/vdrift-20090615.ebuild b/games-sports/vdrift/vdrift-20090615.ebuild index c47d9c33c46e..7c6f0391e4da 100644 --- a/games-sports/vdrift/vdrift-20090615.ebuild +++ b/games-sports/vdrift/vdrift-20090615.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild,v 1.5 2010/10/06 15:05:12 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild,v 1.6 2010/10/14 01:59:17 mr_bones_ Exp $ EAPI=2 -inherit eutils games +inherit eutils scons-utils games MY_P=${PN}-${PV:0:4}-${PV:4:2}-${PV:6} DESCRIPTION="A driving simulation made with drift racing in mind" @@ -27,7 +27,6 @@ RDEPEND="virtual/opengl nls? ( virtual/libintl )" DEPEND="${RDEPEND} dev-cpp/asio - dev-util/scons nls? ( sys-devel/gettext )" S=${WORKDIR}/${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2} @@ -41,12 +40,9 @@ src_prepare() { } src_compile() { - local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }") - - scons \ - ${sconsopts} \ + escons \ force_feedback=1 \ - NLS=$(use nls && echo 1 || echo 0) \ + $(use_scons nls NLS) \ destdir="${D}" \ bindir="${GAMES_BINDIR}" \ datadir="${GAMES_DATADIR}"/${PN} \ @@ -57,7 +53,7 @@ src_compile() { os_cc=1 \ os_cxx=1 \ os_cxxflags=1 \ - || die "scons failed" + || die } src_install() { -- cgit v1.2.3-65-gdbad