Ticket #27449: Portfile-itk.diff

File Portfile-itk.diff, 1.3 KB (added by markd@…, 13 years ago)
  • Portfile

    old new  
    44
    55name                    itk
    66version                 3.3
    7 revision                2
     7revision                3
    88categories              x11 tk
    99maintainers             nomaintainer
    1010description             \[incr Tk\] A.K.A. \"itk\".  Object oriented extension to Tk.
     
    1818# Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't
    1919# break if they aren't in sync.
    2020
    21 set tclv                8.4.14
     21set tclv                8.5.9
    2222
    2323distfiles               ${distname}.tar.gz:itk \
    2424                                tcl${tclv}-src.tar.gz:tcl
    2525checksums               ${name}${version}.tar.gz md5 a97c17f3cfa5e377f43073c653c501b5 \
    26                                 tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
     26                                tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a
    2727depends_build           port:tk port:itcl
    2828build.args              CPPFLAGS=-I${prefix}/include
    2929worksrcdir              ${name}${version}
     
    3131set tclconfig ${prefix}/lib
    3232
    3333configure.env           TCLROOT=${prefix}
    34 configure.cflags        -I${workpath}/tcl${tclv}/generic
     34configure.cflags        "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
    3535configure.ldflags-append        "-ltcl -L/usr/X11R6/lib -lX11"
    3636
    3737configure.args          --with-tcl=${tclconfig} \
    38                         --with-itcl=${prefix}/lib/itcl3.3 \
     38                        --with-itcl=${prefix}/lib/itcl3.4 \
    3939                        --with-tk=${prefix}/lib
    4040
    4141post-patch {