wok-4.x rev 10351
glibc: Check for gawk in compile_rules. Not cook_tmp_toolchain since thats for tazwok.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 16:34:20 2011 +0000 (2011-05-22) |
parents | 8093141fda66 |
children | e2c80c0bf72a |
files | glibc/receipt |
line diff
1.1 --- a/glibc/receipt Sun May 22 22:16:30 2011 +0200 1.2 +++ b/glibc/receipt Sun May 22 16:34:20 2011 +0000 1.3 @@ -19,13 +19,6 @@ 1.4 cook_tmp_toolchain() 1.5 { 1.6 cd $src 1.7 - 1.8 - # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by 1.9 - # default to build package will not ensure package work with Busybox awk 1.10 - # and so should NOT be use to cook. 1.11 - if [ -x /usr/bin/cook ]; then 1.12 - [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk 1.13 - fi 1.14 1.15 # Fix a bug that prevents Glibc from building with GCC-4.5.2: 1.16 patch -Np1 -i $stuff/glibc-2.13-gcc_fix-1.patch 1.17 @@ -61,6 +54,14 @@ 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 + 1.22 + # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by 1.23 + # default to build package will not ensure package work with Busybox awk 1.24 + # and so should NOT be use to cook. 1.25 + if [ -x /usr/bin/cook ]; then 1.26 + [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk 1.27 + fi 1.28 + 1.29 # Following patches and sed fixes comes from LFS development book: 1.30 # http://www.linuxfromscratch.org/lfs/view/development/chapter06/glibc.html 1.31 DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')