Package: tcl8.4 Version: 8.4.19-4 Severity: normal Tags: patch tcl8.4 can not be cross compiled with current state due to use of AC_PROG_CC macro by upstream which checks only for $CC and gcc.
To get it cross compiled (dpkg-buildpackage -b -aarmel) I needed to add few lines to configure call in debian/rules: - --- rules.orig 2010-09-22 13:23:48.936069000 +0200 +++ rules 2010-09-22 13:23:50.496069000 +0200 @@ -35,6 +35,9 @@ # So so ugly but it works... touch generic/tclStubInit.c cd unix && \ + CC=$(DEB_HOST_GNU_TYPE)-gcc \ + ac_cv_func_strtod=yes \ + tcl_cv_strtod_buggy=1 \ TCL_LIBRARY="/usr/share/tcltk/tcl$(v)" \ TCL_PACKAGE_PATH="/usr/local/lib/tcltk /usr/local/share/tcltk /usr/lib/tcltk /usr/share/tcltk /usr/lib" \ ./configure --host=$(DEB_HOST_GNU_TYPE) \ CC one sets compiler to native or cross one and strtod lines are to make it build as configure does not checks properly for it during cross build and assumes inproper state. - -- System Information: Debian Release: squeeze/sid APT prefers maverick APT policy: (650, 'maverick') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35-22-generic (SMP w/4 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages tcl8.4 depends on: ii libc6 2.12.1-0ubuntu6 Embedded GNU C Library: Shared lib tcl8.4 recommends no packages. Versions of packages tcl8.4 suggests: pn tclreadline <none> (no description available) - -- no debconf information
signature.asc
Description: This is a digitally signed message part.