From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-action/rafkill/files: rafkill-1.2.3-ldflags.patch |
Date: | Thu, 07 Oct 2010 09:03:13 |
Message-Id: | 20101007084321.4E46B20054@flycatcher.gentoo.org |
1 | tupone 10/10/07 08:43:21 |
2 | |
3 | Added: rafkill-1.2.3-ldflags.patch |
4 | Log: |
5 | Respect LDFLAGS. Bug #339896 |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-action/rafkill/files/rafkill-1.2.3-ldflags.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/rafkill/files/rafkill-1.2.3-ldflags.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/rafkill/files/rafkill-1.2.3-ldflags.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: rafkill-1.2.3-ldflags.patch |
15 | =================================================================== |
16 | --- SConstruct.old 2010-10-07 10:37:26.000000000 +0200 |
17 | +++ SConstruct 2010-10-07 10:39:33.000000000 +0200 |
18 | @@ -1,5 +1,6 @@ |
19 | import os |
20 | import sys |
21 | +import SCons.Util |
22 | |
23 | env = Environment( ENV = os.environ ); |
24 | config = env.Configure(); |
25 | @@ -36,6 +37,7 @@ |
26 | |
27 | env.BuildDir( 'build/', 'src/' ) |
28 | env.Append( LIBS = [ 'aldmb', 'dumb' ] ); |
29 | +env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) |
30 | if sys.platform == 'win32': |
31 | env.Append( CCFLAGS = [ '-DWINDOWS' ] ) |
32 | env.Append( LIBS = [ 'alleg', 'pthreadGC2' ] ) |