wok rev 10166

glibc: remove gawk from glibc (it break the full tazwok build process)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 03:11:49 2011 +0200 (2011-05-21)
parents b747299e1955
children ac0fe5ccf3e7
files glibc/receipt
line diff
     1.1 --- a/glibc/receipt	Fri May 20 20:23:35 2011 +0000
     1.2 +++ b/glibc/receipt	Sat May 21 03:11:49 2011 +0200
     1.3 @@ -10,7 +10,7 @@
     1.4  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.5  
     1.6  DEPENDS="glibc-base glibc-locale glibc-dev"
     1.7 -BUILD_DEPENDS="linux-api-headers gawk"
     1.8 +BUILD_DEPENDS="linux-api-headers"
     1.9  
    1.10  # Genpkg order for tazwok.
    1.11  COOK_OPT="genpkg=glibc-base:glibc-extra-samba:glib-locale:glibc-dev"
    1.12 @@ -20,6 +20,13 @@
    1.13  {
    1.14  	cd $src
    1.15  
    1.16 +	# SliTaz is a Busybox based OS, why we so small and fast. Using gawk by
    1.17 +	# default to build package will not ensure package work with Busybox awk
    1.18 +	# and so should NOT be use to cook.
    1.19 +	if [ -x /usr/bin/cook ]; then
    1.20 +		[ -d "/var/lib/tazpkg/installed/gawk" ] || tazpkg get-install gawk
    1.21 +	fi
    1.22 +	
    1.23  	# Fix a bug that prevents Glibc from building with GCC-4.5.2:
    1.24  	patch -Np1 -i $stuff/glibc-2.13-gcc_fix-1.patch
    1.25