Ticket #43942: Portfile-putty.diff

File Portfile-putty.diff, 653 bytes (added by shadow.mp@…, 10 years ago)

Putty -gui variant patch

  • Portfile

    old new  
    2424
    2525depends_build       port:pkgconfig
    2626
    27 depends_lib         port:gtk2
    28 
    2927worksrcdir          ${worksrcdir}/unix
    3028
    3129patchfiles          patch-Makefile.in.diff \
    3230                    patch-configure.diff
    3331
     32variant gui description {Build the GUI tools (including putty itself)} {
     33    depends_lib-append    port:gtk2
     34    configure.args-delete --without-gtk
     35}
     36
     37default_variants +gui
     38
     39configure.args-append     --without-gtk
    3440configure.cppflags-delete -I${prefix}/include
    3541configure.cppflags-append -isystem${prefix}/include
    3642