1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-aa,v 1.4 2011/02/17 10:33:39 markd Exp $
--- setupext.py.orig 2010-07-07 01:41:55.000000000 +0000
+++ setupext.py
@@ -115,14 +115,14 @@ options = {'display_status': True,
'verbose': False,
'provide_pytz': 'auto',
'provide_dateutil': 'auto',
- 'build_agg': True,
+ 'build_agg': False,
'build_gtk': 'auto',
'build_gtkagg': 'auto',
'build_tkagg': 'auto',
'build_wxagg': 'auto',
'build_macosx': 'auto',
- 'build_image': True,
- 'build_windowing': True,
+ 'build_image': False,
+ 'build_windowing': False,
'backend': None,
'basedirlist': None}
@@ -344,11 +344,8 @@ def check_for_libpng():
return True
def add_base_flags(module):
- incdirs = filter(os.path.exists,
- [os.path.join(p, 'include') for p in basedirlist ])
- libdirs = filter(os.path.exists,
- [os.path.join(p, 'lib') for p in basedirlist ]+
- [os.path.join(p, 'lib64') for p in basedirlist ] )
+ incdirs = [os.path.join(os.environ['LOCALBASE'], 'include')]
+ libdirs = [os.path.join(os.environ['LOCALBASE'], 'lib')]
module.include_dirs.extend(incdirs)
module.include_dirs.append('.')
|