Ticket #11006: Portfile.patch

File Portfile.patch, 824 bytes (added by luc@…, 17 years ago)
  • Portfile

    old new  
    3232                                port:readline \
    3333                                port:openssl \
    3434                                port:zlib \
    35                                 port:ncurses \
    36                                 port:tcl \
    37                                 port:tk
     35                                port:ncurses
    3836                               
    3937patchfiles              patch-Makefile.in \
    4038                                patch-configure.in \
     
    4947
    5048configure.args  --enable-shared \
    5149                                --mandir="${prefix}/share/man" \
    52                                 --enable-pthread
     50                                --enable-pthread \
     51                                --without-tk
    5352configure.env   CFLAGS="-O -pipe -I${prefix}/include" \
    5453                                CPPFLAGS="-O -pipe -I${prefix}/include" \
    5554                                LDFLAGS="-L${prefix}/lib"
     
    7574        destroot.env    DYLD_LIBRARY_PATH=${destroot}${prefix}/lib
    7675}
    7776
     77variant tk {
     78    configure.args-delete   --without-tk
     79    configure.args-append       --with-tk
     80    depends_lib-append      port:tcl port:tk
     81}