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
|
$NetBSD: patch-aa,v 1.4 2008/12/19 22:35:41 markd Exp $
--- setupext.py.orig 2008-05-30 10:47:10.000000000 +1200
+++ setupext.py
@@ -108,10 +108,10 @@ options = {'display_status': True,
'provide_configobj': 'auto',
'provide_traits': 'auto',
'build_agg': True,
- 'build_gtk': 'auto',
- 'build_gtkagg': 'auto',
- 'build_tkagg': 'auto',
- 'build_wxagg': 'auto',
+ 'build_gtk': False,
+ 'build_gtkagg': False,
+ 'build_tkagg': False,
+ 'build_wxagg': False,
'build_image': True,
'build_windowing': True,
'backend': None,
@@ -321,11 +321,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 basedir[sys.platform] ])
- libdirs = filter(os.path.exists,
- [os.path.join(p, 'lib') for p in basedir[sys.platform] ]+
- [os.path.join(p, 'lib64') for p in basedir[sys.platform] ] )
+ 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('.')
|