Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/gdmodule/files: 0.56-libs.patch
Date: Thu, 25 Nov 2010 14:14:45
Message-Id: 20101125141440.B51E220051@flycatcher.gentoo.org
1 jlec 10/11/25 14:14:40
2
3 Added: 0.56-libs.patch
4 Log:
5 Do not link against uneeded libs, #346751, thanks cschwan for reporting
6
7 (Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-python/gdmodule/files/0.56-libs.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/gdmodule/files/0.56-libs.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/gdmodule/files/0.56-libs.patch?rev=1.1&content-type=text/plain
14
15 Index: 0.56-libs.patch
16 ===================================================================
17 diff --git a/Setup.py b/Setup.py
18 index c6ef27f..8baedc4 100644
19 --- a/Setup.py
20 +++ b/Setup.py
21 @@ -40,7 +40,7 @@ def remove(itm, lst):
22 # Unixoid OS's I will just look for the usual suspects.
23
24 libdirs = dirtest([
25 - "/usr/local/lib", "/sw/lib", "/usr/lib",
26 + "/usr/lib", "/usr/lib64",
27 "/usr/lib/X11", "/usr/X11R6/lib",
28 "/opt/gnome/lib",
29 ])
30 @@ -48,7 +48,7 @@ libdirs = dirtest([
31 # include_dirs are also non-portable; same trick here.
32
33 incdirs = dirtest([
34 - "/usr/local/include", "/sw/include", "/usr/include",
35 + "/usr/include",
36 "/usr/include/X11", "/usr/X11R6/include",
37 "/opt/gnome/include",
38 ])
39 @@ -57,9 +57,6 @@ incdirs = dirtest([
40
41 want_libs = [
42 "gd",
43 - "jpeg", "png", "gif", "z",
44 - "X11", "Xpm",
45 - "ttf", "freetype",
46 ]
47
48 libs = filetest(libdirs, want_libs)