mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Changes: http://matplotlib.sourceforge.net/users/whats_new.html PR: ports/166329 Submitted by: Geoffrey Mainland <mainland@apeiron.net> (maintainer)
29 lines
1.4 KiB
Python
29 lines
1.4 KiB
Python
--- setupext.py.orig 2011-10-06 15:50:23.000000000 +0100
|
|
+++ setupext.py 2012-03-22 23:29:06.881660702 +0000
|
|
@@ -70,6 +70,10 @@
|
|
'freebsd4' : ['/usr/local', '/usr'],
|
|
'freebsd5' : ['/usr/local', '/usr'],
|
|
'freebsd6' : ['/usr/local', '/usr'],
|
|
+ 'freebsd7' : ['/usr/local', '/usr'],
|
|
+ 'freebsd8' : ['/usr/local', '/usr'],
|
|
+ 'freebsd9' : ['/usr/local', '/usr'],
|
|
+ 'freebsd10': ['/usr/local', '/usr'],
|
|
'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
|
|
'gnukfreebsd5' : ['/usr/local', '/usr'],
|
|
'gnukfreebsd6' : ['/usr/local', '/usr'],
|
|
@@ -1018,9 +1022,12 @@
|
|
|
|
# Add final versions of directories and libraries to module lists
|
|
tcl_lib_dir, tcl_inc_dir, tcl_lib, tk_lib_dir, tk_inc_dir, tk_lib = result
|
|
- module.include_dirs.extend([tcl_inc_dir, tk_inc_dir])
|
|
- module.library_dirs.extend([tcl_lib_dir, tk_lib_dir])
|
|
- module.libraries.extend([tcl_lib, tk_lib])
|
|
+ #module.include_dirs.extend([tcl_inc_dir, tk_inc_dir])
|
|
+ #module.library_dirs.extend([tcl_lib_dir, tk_lib_dir])
|
|
+ #module.libraries.extend([tcl_lib, tk_lib])
|
|
+ module.include_dirs.extend(["/usr/local/include/tcl8.5", "/usr/local/include/tk8.5"])
|
|
+ module.library_dirs.extend(["/usr/local/lib/tcl8.5", "/usr/local/lib/tk8.5"])
|
|
+ module.libraries.extend(['tk' + "85", 'tcl' + "85"])
|
|
|
|
return message
|
|
|