From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd/files: gpsd-3.3-ldflags.patch |
Date: | Tue, 22 Nov 2011 18:52:46 |
Message-Id: | 20111122185230.390172004C@flycatcher.gentoo.org |
1 | flameeyes 11/11/22 18:52:30 |
2 | |
3 | Added: gpsd-3.3-ldflags.patch |
4 | Log: |
5 | QA: fix handling of LDFLAGS. |
6 | |
7 | (Portage version: 2.2.0_alpha76/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-geosciences/gpsd/files/gpsd-3.3-ldflags.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/files/gpsd-3.3-ldflags.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/files/gpsd-3.3-ldflags.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: gpsd-3.3-ldflags.patch |
16 | =================================================================== |
17 | Index: gpsd-3.3/SConstruct |
18 | =================================================================== |
19 | --- gpsd-3.3.orig/SConstruct |
20 | +++ gpsd-3.3/SConstruct |
21 | @@ -214,7 +214,7 @@ for i in ["AR", "ARFLAGS", "CCFLAGS", "C |
22 | env.Replace(**{j: os.getenv(i)}) |
23 | for flags in ["LDFLAGS", "LINKFLAGS", "SHLINKFLAGS", "CPPFLAGS"]: |
24 | if os.environ.has_key(flags): |
25 | - env.MergeFlags({flags : [os.getenv(flags)]}) |
26 | + env.MergeFlags({flags : Split(os.getenv(flags))}) |
27 | |
28 | |
29 | # Placeholder so we can kluge together something like VPATH builds. |