# HG changeset patch # User Pascal Bellard # Date 1237206697 0 # Node ID b8669c134c41b2807e9815c2dbb649b8b629a01e # Parent 04c44c43cca45bcd5282f13fb5ebdac90d278701 newt: fix compile_rules diff -r 04c44c43cca4 -r b8669c134c41 newt/receipt --- a/newt/receipt Mon Mar 16 12:22:25 2009 +0000 +++ b/newt/receipt Mon Mar 16 12:31:37 2009 +0000 @@ -19,7 +19,9 @@ # Fixe group/owner chown -R root.root $src - sed -i 's/python2.4/python2.5/' Makefile.in + sed -i -e "s/python2.4/$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')" \ + -e "s/tcl8.4/$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')/" \ + Makefile.in ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS && make &&