wok-4.x rev 2506

newt: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 12:31:37 2009 +0000 (2009-03-16)
parents 04c44c43cca4
children 1c31c18f3b12
files newt/receipt
line diff
     1.1 --- a/newt/receipt	Mon Mar 16 12:22:25 2009 +0000
     1.2 +++ b/newt/receipt	Mon Mar 16 12:31:37 2009 +0000
     1.3 @@ -19,7 +19,9 @@
     1.4  	# Fixe group/owner
     1.5  	chown -R root.root $src
     1.6  
     1.7 -	sed -i 's/python2.4/python2.5/' Makefile.in
     1.8 +	sed -i -e "s/python2.4/$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')" \
     1.9 +	       -e "s/tcl8.4/$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')/" \
    1.10 +	     Makefile.in
    1.11  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.12  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.13  	make &&