Ticket #24576: py26-tk.diff

File py26-tk.diff, 877 bytes (added by roberto@…, 15 years ago)

patch for python26/Portfile

  • Portfile

     
    4747                        patch-Mac-Tools-Doc-setup.py.diff \
    4848                        patch-Lib-ctypes-macholib-dyld.py.diff
    4949
    50 depends_lib             port:gettext port:zlib port:openssl port:tk \
     50depends_lib             port:gettext port:zlib port:openssl \
    5151                        port:sqlite3 port:db46 port:ncurses port:gdbm \
    5252                        port:bzip2 port:readline
    5353
     
    154154   configure.args-append   --enable-unicode=ucs4
    155155}
    156156
     157variant tk description {Enable Tk support} {
     158   depends_lib-append port:tk
     159}
     160
    157161variant no_tkinter description {Disable Tkinter support, which will break IDLE} {
    158162   patchfiles-append    patch-setup_no_tkinter.py.diff
    159163   depends_lib-delete   port:tk