summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-matplotlib/files')
-rw-r--r--graphics/py-matplotlib/files/patch-setup.py11
-rw-r--r--graphics/py-matplotlib/files/patch-setupext.py19
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/py-matplotlib/files/patch-setup.py b/graphics/py-matplotlib/files/patch-setup.py
new file mode 100644
index 000000000000..b594846178ec
--- /dev/null
+++ b/graphics/py-matplotlib/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Wed Aug 4 11:22:03 2004
++++ setup.py Wed Aug 4 11:22:48 2004
+@@ -66,7 +66,7 @@
+ data.extend(glob.glob('images/*.ppm'))
+ data.append('.matplotlibrc')
+
+-data_files=[('share/matplotlib', data),]
++data_files=[('share/py-matplotlib', data),]
+
+ cxx = glob.glob('CXX/*.cxx')
+ cxx.extend(glob.glob('CXX/*.c'))
diff --git a/graphics/py-matplotlib/files/patch-setupext.py b/graphics/py-matplotlib/files/patch-setupext.py
new file mode 100644
index 000000000000..9da36040aac7
--- /dev/null
+++ b/graphics/py-matplotlib/files/patch-setupext.py
@@ -0,0 +1,19 @@
+--- setupext.py.orig Fri Jul 9 19:51:16 2004
++++ setupext.py Wed Aug 4 10:57:03 2004
+@@ -37,6 +37,7 @@
+ 'linux' : ['/usr/local', '/usr',],
+ 'darwin' : [os.getenv('MPLIB_BASE') or '/usr/local', '/usr', '/sw'],
+ 'freebsd4' : [os.getenv('MBLIB_BASE') or '/usr/local', '/usr'],
++ 'freebsd5' : [os.getenv('MBLIB_BASE') or '/usr/local', '/usr'],
+ 'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
+ }
+
+@@ -220,7 +221,7 @@
+ else:
+ module.include_dirs.extend([o.tcl_inc, o.tk_inc])
+ module.library_dirs.extend([o.tcl_lib, o.tk_lib])
+- module.libraries.extend(['tk'+o.tkv, 'tcl'+o.tkv])
++ module.libraries.extend(['tk84', 'tcl84'])
+
+
+ def add_windowing_flags(module):