wok diff tcc/receipt @ rev 4111

Up asterisk (1.6.1.6) thanks pankso !
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 19 22:31:37 2009 +0200 (2009-09-19)
parents 32953ef3a7c7
children cb3974d9da27
line diff
     1.1 --- a/tcc/receipt	Sun May 11 11:36:09 2008 +0000
     1.2 +++ b/tcc/receipt	Sat Sep 19 22:31:37 2009 +0200
     1.3 @@ -13,10 +13,13 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	patch < ../stuff/Makefile.u || return 1
     1.8 -	./configure --prefix=/usr $CONFIGURE_ARGS
     1.9 -	make
    1.10 -	make test
    1.11 +	if [ ! -f done.Makefile.u ]; then
    1.12 +		patch < ../stuff/Makefile.u || return 1
    1.13 +		touch done.Makefile.u
    1.14 +	fi
    1.15 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.16 +	make &&
    1.17 +	make test &&
    1.18  	make DESTDIR=$PWD/_pkg install
    1.19  }
    1.20