wok diff tk/receipt @ rev 17250
libarchive-dev: update genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 12:29:39 2014 +0200 (2014-10-19) |
parents | de49f29b101e |
children | 6ce464a0de4b |
line diff
1.1 --- a/tk/receipt Thu Dec 05 15:25:09 2013 +0000 1.2 +++ b/tk/receipt Sun Oct 19 12:29:39 2014 +0200 1.3 @@ -10,6 +10,7 @@ 1.4 WEB_SITE="http://tcl.sourceforge.net/" 1.5 WGET_URL="$SF_MIRROR/tcl/$TARBALL" 1.6 TAGS="programming language" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \ 1.10 xorg-libXft xorg-libXrender zlib xorg-libXss" 1.11 @@ -18,10 +19,17 @@ 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 + case "$ARCH" in 1.16 + arm*) 1.17 + export tcl_cv_strtod_buggy=1 1.18 + export ac_cv_func_strtod=yes ;; 1.19 + esac 1.20 cd $src/unix 1.21 - ./configure --prefix=/usr \ 1.22 - --enable-threads \ 1.23 - --enable-shared $CONFIGURE_ARGS && 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --enable-threads \ 1.27 + --enable-shared \ 1.28 + ${CONFIGURE_ARGS} && 1.29 make && 1.30 make DESTDIR=$DESTDIR install 1.31 }