From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-simulation/dangerdeep/files: dangerdeep-0.3.0-build.patch |
Date: | Thu, 24 Jun 2010 17:46:41 |
Message-Id: | 20100624174636.1F2F52CF4B@corvid.gentoo.org |
1 | mr_bones_ 10/06/24 17:46:35 |
2 | |
3 | Modified: dangerdeep-0.3.0-build.patch |
4 | Log: |
5 | Add libsdl use dep; honor CXX; allow parallel make |
6 | (Portage version: 2.1.8.3/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.2 games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: dangerdeep-0.3.0-build.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/files/dangerdeep-0.3.0-build.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- dangerdeep-0.3.0-build.patch 12 Jun 2007 21:47:41 -0000 1.1 |
22 | +++ dangerdeep-0.3.0-build.patch 24 Jun 2010 17:46:35 -0000 1.2 |
23 | @@ -8,10 +8,12 @@ |
24 | env = Environment(ENV = os.environ) |
25 | env.Append(CPPPATH = ['/usr/include/SDL', '/usr/include/GL']) |
26 | libpath = ['/usr/X11R6/lib'] |
27 | -@@ -126,13 +127,16 @@ |
28 | +@@ -126,13 +127,18 @@ |
29 | sdllibs = ['SDL', 'SDL_image'] |
30 | ccflags = '-Wall `sdl-config --cflags` `pkg-config --cflags x11`' |
31 | env.Append(LINKFLAGS = '`pkg-config --libs-only-L x11`') |
32 | ++ if os.environ.has_key('CXX'): |
33 | ++ env['CXX'] = os.environ['CXX'] |
34 | + if os.environ.has_key('CXXFLAGS'): |
35 | + ccflags += os.environ['CXXFLAGS'] |
36 | + if os.environ.has_key('LDFLAGS'): |