# HG changeset patch # User Christopher Rogers # Date 1306082419 0 # Node ID e2da6d423e51dfae03631d5d1f67541135ef4528 # Parent e2c80c0bf72a01b807c628971052cbee3e540a19 gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope. diff -r e2c80c0bf72a -r e2da6d423e51 gcc/receipt --- a/gcc/receipt Sun May 22 22:38:05 2011 +0200 +++ b/gcc/receipt Sun May 22 16:40:19 2011 +0000 @@ -14,7 +14,7 @@ # and use it's own copy. DEPENDS="libgomp libobjc gcc-lib-base mpc-library elfutils" BUILD_DEPENDS="elfutils mpc-library mpfr mpfr-dev gmp gmp-dev elfutils \ -elfutils-dev gawk" +elfutils-dev" # Rules to compile & install the temporary toolchain. precook_tmp_toolchain() @@ -111,6 +111,14 @@ { 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 + # Package slitaz-toolchain use 'cook --options' when rebuilding # the full SliTaz toolchain. [ "$2" == "--first-pass" ] && opt=$2