wok diff tcc/receipt @ rev 4039

Up: putty (0.60-2009-09-08)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Sep 08 07:48:28 2009 +0000 (2009-09-08)
parents 32953ef3a7c7
children cb3974d9da27
line diff
     1.1 --- a/tcc/receipt	Sun May 11 11:36:09 2008 +0000
     1.2 +++ b/tcc/receipt	Tue Sep 08 07:48:28 2009 +0000
     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