e08c6f374b
The GD module is an interface to the GD library written by Thomas Boutell.
35 lines
919 B
Plaintext
35 lines
919 B
Plaintext
$OpenBSD: patch-Setup_py,v 1.1.1.1 2004/10/27 09:21:46 xsa Exp $
|
|
--- Setup.py.orig 2002-09-18 17:14:06.000000000 +0200
|
|
+++ Setup.py 2004-04-21 15:25:53.000000000 +0200
|
|
@@ -40,17 +40,14 @@ def remove(itm, lst):
|
|
# Unixoid OS's I will just look for the usual suspects.
|
|
|
|
libdirs = dirtest([
|
|
- "/usr/lib", "/usr/local/lib",
|
|
- "/usr/lib/X11", "/usr/X11R6/lib",
|
|
- "/opt/gnome/lib",
|
|
+ "/usr/lib", "%%LOCALBASE%%/lib",
|
|
])
|
|
|
|
# include_dirs are also non-portable; same trick here.
|
|
|
|
incdirs = dirtest([
|
|
- "/usr/include", "/usr/local/include",
|
|
- "/usr/include/X11", "/usr/X11R6/include",
|
|
- "/opt/gnome/include",
|
|
+ "/usr/include", "%%LOCALBASE%%/include",
|
|
+ "%%LIBPNG%%",
|
|
])
|
|
|
|
# Try to identify our libraries
|
|
@@ -58,8 +55,7 @@ incdirs = dirtest([
|
|
want_libs = [
|
|
"gd",
|
|
"jpeg", "png", "z",
|
|
- "X11", "Xpm",
|
|
- "ttf", "freetype",
|
|
+ "ttf",
|
|
]
|
|
|
|
libs = filetest(libdirs, want_libs)
|