--- plamo/05_ext/tk.txz/old/itk-20161016/PlamoBuild.itk-3.4 2016-10-16 15:08:06.000000000 +0900 +++ plamo/05_ext/tk.txz/itk/PlamoBuild.itk-4.0.2 2016-10-18 10:40:55.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="ftp://plamo.linet.gr.jp/pub/Plamo-src.new/plamo/05_ext/tk.txz/itk/itk3.4-20080207.tar.bz2 - http://downloads.sourceforge.net/tcl/tcl8.5.10-src.tar.gz - http://downloads.sourceforge.net/tcl/tk8.5.10-src.tar.gz" +url="http://downloads.sourceforge.net/incrtcl/itk4.0.2.tar.gz + http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz + http://downloads.sourceforge.net/tcl/tk8.6.6-src.tar.gz" pkgbase=itk -vers=3.4 +vers=4.0.2 arch=`uname -m` -build=P2 -src=itk$vers +build=P1 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="license.terms CHANGES ChangeLog INCOMPATIBLE README TODO" +DOCS="license.terms" ###################################################################### fscheck() { @@ -235,34 +235,34 @@ esac done done - cd $W/tcl8.5.10 + cd $W/tcl8.6.6 if [ $arch == x86_64 ] ; then cp -p unix/configure{,.orig} cat <<- "EOF" | patch unix/configure - 18772c18772 + 18923c18923 < TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)' --- > TCL_LIBRARY='$(prefix)/lib64/tcl$(VERSION)' - 18894,18895c18894,18895 + 19053,19054c19053,19054 < elif test "$prefix/lib" != "$libdir"; then < TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}" --- > elif test "$prefix/lib64" != "$libdir"; then > TCL_PACKAGE_PATH="${libdir} ${prefix}/lib64 ${TCL_PACKAGE_PATH}" - 18897c18897 + 19056c19056 < TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}" --- > TCL_PACKAGE_PATH="${prefix}/lib64 ${TCL_PACKAGE_PATH}" EOF fi - cd $W/tcl8.5.10/unix + cd $W/tcl8.6.6/unix ./configure --prefix=/usr --libdir=/usr/$libdir --enable-threads - cd $W/tk8.5.10 + cd $W/tk8.6.6 if [ $arch == x86_64 ] ; then cp -p unix/configure{,.orig} sed -i '/^TK_LIBRARY=/s@lib@lib64@g' unix/configure fi - cd $W/tk8.5.10/unix + cd $W/tk8.6.6/unix ./configure --prefix=/usr --libdir=/usr/$libdir --enable-threads for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} @@ -275,8 +275,7 @@ if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ - --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} \ - --with-itcl=/usr/$libdir + --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done fi