1234567891011121314151617 |
- $OpenBSD: patch-lib_pypy__tkinter_tklib_build_py,v 1.2 2016/04/19 11:14:54 edd Exp $
- --- lib_pypy/_tkinter/tklib_build.py.orig Fri Mar 18 17:52:25 2016
- +++ lib_pypy/_tkinter/tklib_build.py Tue Apr 5 14:40:36 2016
- @@ -6,9 +6,9 @@ import sys, os
- # XXX find a better way to detect paths
- # XXX pick up CPPFLAGS and LDFLAGS and add to these paths?
- if sys.platform.startswith("openbsd"):
- - incdirs = ['/usr/local/include/tcl8.5', '/usr/local/include/tk8.5', '/usr/X11R6/include']
- - linklibs = ['tk85', 'tcl85']
- - libdirs = ['/usr/local/lib', '/usr/X11R6/lib']
- + incdirs = ['${MODTCL_INCDIR}', '${MODTK_INCDIR}', '${X11BASE}/include']
- + linklibs = ['${MODTK_LIB}', '${MODTCL_LIB}']
- + libdirs = ['${LOCALBASE}/lib', '${X11BASE}/lib']
- elif sys.platform.startswith("freebsd"):
- incdirs = ['/usr/local/include/tcl8.6', '/usr/local/include/tk8.6', '/usr/local/include/X11', '/usr/local/include']
- linklibs = ['tk86', 'tcl86']
|