From 8cfb76d7d207adb4db268322731770c0393d14a2 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Wed, 6 Oct 2010 15:05:12 +0000 Subject: Respect LDFLAGS. Bug #339805 Package-Manager: portage-2.1.9.13/cvs/Linux i686 --- games-sports/vdrift/ChangeLog | 8 ++++++-- games-sports/vdrift/Manifest | 5 +++-- games-sports/vdrift/files/vdrift-20090615-ldflags.patch | 10 ++++++++++ games-sports/vdrift/vdrift-20090615.ebuild | 5 +++-- 4 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 games-sports/vdrift/files/vdrift-20090615-ldflags.patch (limited to 'games-sports') 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 vdrift-20090615.ebuild, + +files/vdrift-20090615-ldflags.patch: + Respect LDFLAGS. Bug #339805 by flameeyes@gentoo.org 20 Nov 2009; Markus Meier vdrift-20090615.ebuild: amd64/x86 stable, bug #290955 diff --git a/games-sports/vdrift/Manifest b/games-sports/vdrift/Manifest index 04d09296b570..862b53e9daa5 100644 --- a/games-sports/vdrift/Manifest +++ b/games-sports/vdrift/Manifest @@ -1,4 +1,5 @@ +AUX vdrift-20090615-ldflags.patch 454 RMD160 b396d32c5d6884e5cec3e2d898f75ce52e5ae920 SHA1 085827c32fb55c323bdf37c5e8d64f1f58ebd005 SHA256 63c3a8aad80c16f41f8421e6f6c86c638ad8bb6e5f193a4988925b14bec12cc5 DIST vdrift-2009-06-15-src.tar.bz2 502507126 RMD160 5ef735cc9a0c51612c59d51170bf50b7b8841b8d SHA1 b6fc35f1df7ca519e876d58d248924922c7e0eb5 SHA256 14c87f25e9dea2dc51f991a6c14e5f7122ec5b56df416327ba3ca383e20c11b9 -EBUILD vdrift-20090615.ebuild 1762 RMD160 542607a6534c253d616c61dfa1afdf2f92cb0512 SHA1 d0bdd2800e1387815b437b663d83a235135a208d SHA256 5a830b9fc7fb0a533a511bf2b243d11145e70ef946f2985bd050a39c7bdbb924 -MISC ChangeLog 1828 RMD160 c6c023a9b8b8ed43eb6eac3e7e6f155449db0d74 SHA1 31aa4ca78ff4c13d8c2a96a580d463aa0cd95a83 SHA256 4ed18eedc5ed20e49a922d2bd09cc20264bcf75687804a8fb391ea42bdee4c64 +EBUILD vdrift-20090615.ebuild 1800 RMD160 c7991c0ac8dab8f1146ad6ee339cc14096e5ae81 SHA1 229a157cef84152719f8a2b4f739a62722ae8df5 SHA256 7173d16888c3195cc1178753b1f004970d9ba76154a40c4987507b65fe55ec4a +MISC ChangeLog 1998 RMD160 567fed42d8e4333b04fec7e868d287bbc34a30e4 SHA1 d32786bcd8a95c2eb2b07172d7f271b183457c3f SHA256 ccf9a07f84dd6a29f81bdf2a3366bbdb78398deafd32f3eb1bdde05d8b10a11e MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 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() { -- cgit v1.2.3-65-gdbad