Ticket #42064: py-pil+tk.patch

File py-pil+tk.patch, 886 bytes (added by danudey (Dan Udey), 10 years ago)

Patch to move tk support to a variant

  • python/py-pil/Portfile

     
    2323                sha1 76c37504251171fda8da8e63ecb8bc42a69a5c81 \
    2424                rmd160 9af570fe100e250a4860314341fe3e6d695d7fde
    2525
     26default_variants +tk
     27
    2628python.versions 24 25 26 27
    2729
    2830if {${name} ne ${subport}} {
     
    3133                    patch-_imagingft.c.diff
    3234
    3335    depends_lib-append  port:freetype \
    34                         port:lcms \
    35                         port:py${python.version}-tkinter
     36                        port:lcms
     37
     38    variant tk description "Support for the tk GUI toolkit for Tcl" {
     39    depends_lib-append port:py${python.version}-tkinter
     40    }
    3641   
    3742    post-patch {
    3843        reinplace s,__PREFIX__,${prefix},g ${worksrcpath}/setup.py