Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd/files: gpsd-3.7-rpath.patch
Date: Wed, 01 Aug 2012 21:52:17
Message-Id: 20120801215158.671192004C@flycatcher.gentoo.org
1 vapier 12/08/01 21:51:58
2
3 Added: gpsd-3.7-rpath.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/files/gpsd-3.7-rpath.patch?rev=1.1&content-type=text/plain
14
15 Index: gpsd-3.7-rpath.patch
16 ===================================================================
17 don't set the -rpath/-L flags to the install dir as this breaks DESTDIR
18
19 --- a/SConstruct
20 +++ b/SConstruct
21 @@ -268,11 +268,7 @@
22 return wrapped
23
24 # Honor the specified installation prefix in link paths.
25 -if not env["sysroot"]:
26 - env.Prepend(LIBPATH=[installdir('libdir')])
27 -else:
28 - env.Prepend(LIBPATH=[env["sysroot"] + installdir('libdir')])
29 -if env["shared"]:
30 +if env["shared"] and env["chrpath"]:
31 env.Prepend(RPATH=[installdir('libdir')])
32
33 # Give deheader a way to set compiler flags