summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib-tk/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-matplotlib-tk/patches/patch-aa')
-rw-r--r--graphics/py-matplotlib-tk/patches/patch-aa47
1 files changed, 19 insertions, 28 deletions
diff --git a/graphics/py-matplotlib-tk/patches/patch-aa b/graphics/py-matplotlib-tk/patches/patch-aa
index 6d8764bb35d..055a301d993 100644
--- a/graphics/py-matplotlib-tk/patches/patch-aa
+++ b/graphics/py-matplotlib-tk/patches/patch-aa
@@ -1,45 +1,36 @@
-$NetBSD: patch-aa,v 1.3 2010/05/17 16:22:59 drochner Exp $
+$NetBSD: patch-aa,v 1.4 2011/02/17 10:33:39 markd Exp $
---- setupext.py.orig 2009-08-23 05:27:32.000000000 +0000
+--- setupext.py.orig 2010-07-07 01:41:55.000000000 +0000
+++ setupext.py
-@@ -103,16 +103,16 @@ numpy_inc_dirs = []
- # matplotlib build options, which can be altered using setup.cfg
- options = {'display_status': True,
+@@ -115,14 +115,14 @@ options = {'display_status': True,
'verbose': False,
-- 'provide_pytz': 'auto',
-- 'provide_dateutil': 'auto',
+ 'provide_pytz': 'auto',
+ 'provide_dateutil': 'auto',
- 'build_agg': True,
-- 'build_gtk': 'auto',
-- 'build_gtkagg': 'auto',
-- 'build_tkagg': 'auto',
-- 'build_wxagg': 'auto',
-- 'build_macosx': 'auto',
++ 'build_agg': False,
+ 'build_gtk': 'auto',
+ 'build_gtkagg': 'auto',
+ 'build_tkagg': 'auto',
+ 'build_wxagg': 'auto',
+ 'build_macosx': 'auto',
- 'build_image': True,
- 'build_windowing': True,
-+ 'provide_pytz': False,
-+ 'provide_dateutil': False,
-+ 'build_agg': False,
-+ 'build_gtk': False,
-+ 'build_gtkagg': False,
-+ 'build_tkagg': True,
-+ 'build_wxagg': False,
-+ 'build_macosx': False,
+ 'build_image': False,
+ 'build_windowing': False,
- 'backend': None}
+ 'backend': None,
+ 'basedirlist': None}
- # Based on the contents of setup.cfg, determine the build options
-@@ -320,11 +320,8 @@ def check_for_libpng():
+@@ -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 basedir[sys.platform] ])
+- [os.path.join(p, 'include') for p in basedirlist ])
- 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')
+- [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('.')