wok diff aircrack-ng/receipt @ rev 8774

Fix: openal compile_rules()
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 21 19:43:04 2011 +0100 (2011-02-21)
parents 72a8ac68c219
children aa9d73cf312d
line diff
     1.1 --- a/aircrack-ng/receipt	Fri Jul 23 11:27:17 2010 +0200
     1.2 +++ b/aircrack-ng/receipt	Mon Feb 21 19:43:04 2011 +0100
     1.3 @@ -15,11 +15,11 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	sed -i s#/usr/local#/usr#g common.mak || exit 1
     1.8 -	sed -i s#/man/man1#/share/man/man1# common.mak || exit 1
     1.9 +	sed -i s#/usr/local#/usr#g common.mak || return 1
    1.10 +	sed -i s#/man/man1#/share/man/man1# common.mak || return 1
    1.11  	
    1.12  	# fix build with gcc45
    1.13 -	sed -i s/-Werror// common.mak || exit 1
    1.14 +	sed -i s/-Werror// common.mak || return 1
    1.15  	
    1.16  	make &&
    1.17  	make DESTDIR=$PWD/_pkg install