wok-6.x diff tcc/receipt @ rev 3524

tazbb: Fix web interface unbuilt stats
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 21 17:59:21 2009 +0200 (2009-06-21)
parents 32953ef3a7c7
children cb3974d9da27
line diff
     1.1 --- a/tcc/receipt	Sun May 11 11:36:09 2008 +0000
     1.2 +++ b/tcc/receipt	Sun Jun 21 17:59:21 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