Hi,

we applied 40_hurd.patch for building matplotlib on Debian GNU/Hurd.

Additional attached the 10_build_fix.patch. This patch does two things.
First it enables matplotlib on all Debian architectures. The second
things is that it removes /usr/local from the basedir.

It would be nice if you can provide a configure flag for disabling
the /usr/local directory from the basedir. Then we can drop this patch.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
--- a/setupext.py
+++ b/setupext.py
@@ -72,6 +72,7 @@
     'gnukfreebsd7' : ['/usr'],
     'gnukfreebsd8' : ['/usr'],
     'aix5' : ['/usr/local'],
+    'gnu0' : ['/usr'],
 }
 
 import sys, os, stat
Description: Fixes path for build on Debian
Forwarded: no
Author: Sandro Tosi <mo...@debian.org>
Last-Update: 2010-02-06

--- matplotlib-0.99.1.2.orig/setupext.py
+++ matplotlib-0.99.1.2/setupext.py
@@ -47,8 +47,12 @@ import subprocess
 
 basedir = {
     'win32'  : ['win32_static',],
-    'linux2' : ['/usr/local', '/usr'],
-    'linux'  : ['/usr/local', '/usr',],
+    'linux2-alpha' : ['/usr'],
+    'linux2-hppa' : ['/usr'],
+    'linux2-mips' : ['/usr'],
+    'linux2-sparc' : ['/usr'],
+    'linux2' : ['/usr'],
+    'linux'  : ['/usr',],
     'cygwin' : ['/usr/local', '/usr',],
     '_darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
                 '/usr', '/sw'],
@@ -63,9 +67,12 @@ basedir = {
     'freebsd5' : ['/usr/local', '/usr'],
     'freebsd6' : ['/usr/local', '/usr'],
     'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
-    'gnukfreebsd5' : ['/usr/local', '/usr'],
-    'gnukfreebsd6' : ['/usr/local', '/usr'],
+    'gnukfreebsd5' : ['/usr'],
+    'gnukfreebsd6' : ['/usr'],
+    'gnukfreebsd7' : ['/usr'],
+    'gnukfreebsd8' : ['/usr'],
     'aix5' : ['/usr/local'],
+    'gnu0' : ['/usr'],
 }
 
 import sys, os, stat

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to