diff options
Diffstat (limited to 'games-sports/vdrift')
-rw-r--r-- | games-sports/vdrift/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/vdrift/files/vdrift-20090615-ldflags.patch | 10 | ||||
-rw-r--r-- | games-sports/vdrift/vdrift-20090615.ebuild | 5 |
3 files changed, 19 insertions, 4 deletions
diff --git a/games-sports/vdrift/ChangeLog b/games-sports/vdrift/ChangeLog index 92d95cf4dfe4..840bce0e96d7 100644 --- a/games-sports/vdrift/ChangeLog +++ b/games-sports/vdrift/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/vdrift -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/ChangeLog,v 1.13 2009/11/20 14:16:12 maekke Exp $ +# 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 $ + + 06 Oct 2010; Tupone Alfredo <tupone@gentoo.org> vdrift-20090615.ebuild, + +files/vdrift-20090615-ldflags.patch: + Respect LDFLAGS. Bug #339805 by flameeyes@gentoo.org 20 Nov 2009; Markus Meier <maekke@gentoo.org> vdrift-20090615.ebuild: amd64/x86 stable, bug #290955 diff --git a/games-sports/vdrift/files/vdrift-20090615-ldflags.patch b/games-sports/vdrift/files/vdrift-20090615-ldflags.patch new file mode 100644 index 000000000000..1949ef8036c0 --- /dev/null +++ b/games-sports/vdrift/files/vdrift-20090615-ldflags.patch @@ -0,0 +1,10 @@ +--- SConstruct.old 2010-10-06 15:54:11.000000000 +0200 ++++ SConstruct 2010-10-06 15:59:55.000000000 +0200 +@@ -141,6 +141,7 @@ + LINKFLAGS = ['-pthread'], + CC = 'gcc', CXX = 'g++', + options = opts) ++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) + check_headers = ['asio.hpp', 'boost/bind.hpp', 'GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_rotozoom.h', 'vorbis/vorbisfile.h', 'GL/glew.h'] + + diff --git a/games-sports/vdrift/vdrift-20090615.ebuild b/games-sports/vdrift/vdrift-20090615.ebuild index 5db6f5498197..c47d9c33c46e 100644 --- a/games-sports/vdrift/vdrift-20090615.ebuild +++ b/games-sports/vdrift/vdrift-20090615.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.4 2009/11/23 01:38:47 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/vdrift/vdrift-20090615.ebuild,v 1.5 2010/10/06 15:05:12 tupone Exp $ EAPI=2 inherit eutils games @@ -37,6 +37,7 @@ src_prepare() { -e "s/'-O1',\?//" \ SConstruct \ || die "sed failed" + epatch "${FILESDIR}"/${P}-ldflags.patch } src_compile() { |