# HG changeset patch # User Christopher Rogers # Date 1306082060 0 # Node ID 53b83e72d90747538407a2db16adbd65f732834d # Parent 8093141fda66ded17acd775ddb53a8867f573120 glibc: Check for gawk in compile_rules. Not cook_tmp_toolchain since thats for tazwok. diff -r 8093141fda66 -r 53b83e72d907 glibc/receipt --- a/glibc/receipt Sun May 22 22:16:30 2011 +0200 +++ b/glibc/receipt Sun May 22 16:34:20 2011 +0000 @@ -19,13 +19,6 @@ cook_tmp_toolchain() { cd $src - - # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by - # default to build package will not ensure package work with Busybox awk - # and so should NOT be use to cook. - if [ -x /usr/bin/cook ]; then - [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk - fi # Fix a bug that prevents Glibc from building with GCC-4.5.2: patch -Np1 -i $stuff/glibc-2.13-gcc_fix-1.patch @@ -61,6 +54,14 @@ compile_rules() { cd $src + + # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by + # default to build package will not ensure package work with Busybox awk + # and so should NOT be use to cook. + if [ -x /usr/bin/cook ]; then + [ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk + fi + # Following patches and sed fixes comes from LFS development book: # http://www.linuxfromscratch.org/lfs/view/development/chapter06/glibc.html DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')