patch-lib_pypy__tkinter_tklib_build_py 945 B

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