wok-next diff libvalhalla/receipt @ rev 5903

libvalhalla: fix configure for GCC 4.5.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 26 12:02:23 2010 +0200 (2010-07-26)
parents 252a378d28c1
children b49fc09f0d1c
line diff
     1.1 --- a/libvalhalla/receipt	Thu Mar 25 09:27:06 2010 +0100
     1.2 +++ b/libvalhalla/receipt	Mon Jul 26 12:02:23 2010 +0200
     1.3 @@ -15,6 +15,8 @@
     1.4  {
     1.5  	cd $src
     1.6  	sed -i 's/cat -n/awk '"'"'{ printf "%6d  %s\\n",++n,$0 }'"'"' </' configure
     1.7 +	# Fix configure for GCC 4.5.0
     1.8 +	sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
     1.9  	./configure \
    1.10  		--prefix=/usr &&
    1.11  	make && make DESTDIR=$PWD/_pkg install