summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib/patches/patch-aa
blob: bbc6105e794d5461b80f1845daf9fbf4096111a9 (plain)
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.6 2009/08/05 11:02:12 markd Exp $

--- setupext.py.orig	2008-12-10 14:53:21.000000000 +1300
+++ setupext.py
@@ -102,10 +102,10 @@ options = {'display_status': True,
            'provide_configobj': 'auto',
            'provide_traits': False,
            '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_macosx': 'auto',
            'build_image': True,
            'build_windowing': True,
@@ -325,11 +325,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('.')