Ticket #20799: Portfile-tk.diff

File Portfile-tk.diff, 1.3 KB (added by c.freden@…, 15 years ago)

Patch for tk Portfile, fetches source from http://opensource.apple.com/tarballs/tcl/tcl-87.tar.gz

  • Portfile

    old new  
    1414  Ousterhout, Addison-Wesley, ISBN 0-201-63337-X.
    1515
    1616platforms       darwin
    17 master_sites    sourceforge:tcl
     17master_sites    http://opensource.apple.com/tarballs/tcl/
    1818dist_subdir     tcltk
    19 distname        ${name}${version}-src
    20 worksrcdir      ${name}${version}/unix
     19distname        tcl-87
     20worksrcdir      tcl-87/tk/tk/macosx
    2121checksums \
    22   ${distname}${extract.suffix} \
    23     md5     0764f63ae2106b4774c4ecb0ef391610 \
    24     sha1    b5def6871e53c78354ac01b27abd523bb4295158 \
    25     rmd160  8ff412f84ffb76b9b0da5a32f7404c37a5337003 \
     22  tcl-87.tar.gz \
     23    md5     636566aaf026b128dbfa1dbd3d97d9fb \
     24    sha1    42fe3b30d995194a6d3053fa0b5c35095f4175f6 \
     25    rmd160  ed367f884823f390421b995f51949159829c5e6a \
    2626# suck in Tcl as well so we can use it internally.
    2727distfiles-append    tcl${version}-src${extract.suffix}
    2828checksums-append \
     
    4040        port:xorg-libXScrnSaver
    4141
    4242post-patch {
    43     reinplace s|@TCL_SRC_DIR@|${worksrcpath}/../../tcl${version}/|g ${worksrcpath}/Makefile.in
     43    reinplace s|@TCL_SRC_DIR@|${worksrcpath}/../../tcl${version}/|g ${worksrcpath}/GNUmakefile
    4444}
    4545
    4646configure.args      --mandir=${prefix}/share/man --with-tcl=${prefix}/lib