Ticket #27449: Portfile-itk.diff
File Portfile-itk.diff, 1.3 KB (added by markd@…, 14 years ago) |
---|
-
Portfile
old new 4 4 5 5 name itk 6 6 version 3.3 7 revision 27 revision 3 8 8 categories x11 tk 9 9 maintainers nomaintainer 10 10 description \[incr Tk\] A.K.A. \"itk\". Object oriented extension to Tk. … … 18 18 # Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't 19 19 # break if they aren't in sync. 20 20 21 set tclv 8. 4.1421 set tclv 8.5.9 22 22 23 23 distfiles ${distname}.tar.gz:itk \ 24 24 tcl${tclv}-src.tar.gz:tcl 25 25 checksums ${name}${version}.tar.gz md5 a97c17f3cfa5e377f43073c653c501b5 \ 26 tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff646026 tcl${tclv}-src.tar.gz md5 8512d8db3233041dd68a81476906012a 27 27 depends_build port:tk port:itcl 28 28 build.args CPPFLAGS=-I${prefix}/include 29 29 worksrcdir ${name}${version} … … 31 31 set tclconfig ${prefix}/lib 32 32 33 33 configure.env TCLROOT=${prefix} 34 configure.cflags -I${workpath}/tcl${tclv}/generic34 configure.cflags "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix" 35 35 configure.ldflags-append "-ltcl -L/usr/X11R6/lib -lX11" 36 36 37 37 configure.args --with-tcl=${tclconfig} \ 38 --with-itcl=${prefix}/lib/itcl3. 3\38 --with-itcl=${prefix}/lib/itcl3.4 \ 39 39 --with-tk=${prefix}/lib 40 40 41 41 post-patch {