wok-stable rev 1538

inkscape: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 10 08:13:05 2008 +0000 (2008-10-10)
parents a412fbf20218
children a534ac8b5c06
files inkscape/receipt
line diff
     1.1 --- a/inkscape/receipt	Thu Oct 09 21:05:08 2008 +0000
     1.2 +++ b/inkscape/receipt	Fri Oct 10 08:13:05 2008 +0000
     1.3 @@ -15,12 +15,16 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	grep -rl glib/gmessages . | while read file; do
     1.8 +		echo "Patching $file..."
     1.9 +		sed -i 's|glib/gmessages|glib|' $file
    1.10 +	done
    1.11  	./configure \
    1.12  		--prefix=/usr \
    1.13  		--mandir=/usr/share/man \
    1.14  		--disable-lcms \
    1.15 -		$CONFIGURE_ARGS
    1.16 -	make
    1.17 +		$CONFIGURE_ARGS &&
    1.18 +	make &&
    1.19  	make DESTDIR=$PWD/_pkg install
    1.20  }
    1.21