source: trunk/dports/python/py-numpy/files/patch-system_info.py @ 19388

Last change on this file since 19388 was 19388, checked in by erickt@…, 13 years ago

updated py-numpy to 1.0b4
moved py-scipy version 0.3.2 into py-scipy03, and updated py-scipy to 0.5.0.
Since 0.5.0 should be backwards compatible with 0.4.6, I removed the
py-scipy04 package

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1--- numpy/distutils/system_info.py.old  2006-09-02 13:02:31.000000000 -0700
2+++ numpy/distutils/system_info.py      2006-09-02 13:04:09.000000000 -0700
3@@ -137,14 +137,14 @@
4     default_x11_lib_dirs = []
5     default_x11_include_dirs = []
6 else:
7-    default_lib_dirs = ['/usr/local/lib', '/opt/lib', '/usr/lib',
8+    default_lib_dirs = ['DPORT_PREFIX/lib', '/usr/local/lib', '/opt/lib', '/usr/lib',
9                         '/opt/local/lib', '/sw/lib']
10-    default_include_dirs = ['/usr/local/include',
11+    default_include_dirs = ['DPORT_PREFIX/include', '/usr/local/include',
12                             '/opt/include', '/usr/include',
13                             '/opt/local/include', '/sw/include']
14     default_src_dirs = ['.','/usr/local/src', '/opt/src','/sw/src']
15-    default_x11_lib_dirs = ['/usr/X11R6/lib','/usr/X11/lib','/usr/lib']
16-    default_x11_include_dirs = ['/usr/X11R6/include','/usr/X11/include',
17+    default_x11_lib_dirs = ['DPORT_PREFIX/lib', '/usr/X11R6/lib','/usr/X11/lib','/usr/lib']
18+    default_x11_include_dirs = ['DPORT_PREFIX/include/X11', '/usr/X11R6/include','/usr/X11/include',
19                                 '/usr/include']
20 
21 if os.path.join(sys.prefix, 'lib') not in default_lib_dirs:
Note: See TracBrowser for help on using the repository browser.