[pypy-commit] pypy release-2.2.x: FreeBSD 9.2 / Tcl/Tk 8.6 paths include and lib paths

oberstet noreply at buildbot.pypy.org
Sun Nov 24 11:49:40 CET 2013


Author: Tobias Oberstein <tobias.oberstein at tavendo.de>
Branch: release-2.2.x
Changeset: r68301:fd729a097f6f
Date: 2013-11-18 14:18 +0100
http://bitbucket.org/pypy/pypy/changeset/fd729a097f6f/

Log:	FreeBSD 9.2 / Tcl/Tk 8.6 paths include and lib paths (transplanted
	from 68fe795f0c671d81dee4da49bb3bd193225417f9)

diff --git a/lib_pypy/_tkinter/tklib.py b/lib_pypy/_tkinter/tklib.py
--- a/lib_pypy/_tkinter/tklib.py
+++ b/lib_pypy/_tkinter/tklib.py
@@ -112,6 +112,10 @@
     incdirs = ['/usr/local/include/tcl8.5', '/usr/local/include/tk8.5', '/usr/X11R6/include']
     linklibs = ['tk85', 'tcl85']
     libdirs = ['/usr/local/lib', '/usr/X11R6/lib']
+elif sys.platform.startswith("freebsd"):
+    incdirs = ['/usr/local/include/tcl8.6', '/usr/local/include/tk8.6', '/usr/local/include/X11']
+    linklibs = ['tk86', 'tcl86']
+    libdirs = ['/usr/local/lib']
 elif sys.platform == 'win32':
     incdirs = []
     linklibs = ['tcl85', 'tk85']


More information about the pypy-commit mailing list