$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('.')