wok diff newt/receipt @ rev 3781

Update: gcc+gcj (adjust for fastjar upgrade)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 30 13:25:19 2009 +0000 (2009-07-30)
parents d4b161735a3e
children a40238673a42
line diff
     1.1 --- a/newt/receipt	Mon Mar 16 22:26:55 2009 +0000
     1.2 +++ b/newt/receipt	Thu Jul 30 13:25:19 2009 +0000
     1.3 @@ -19,8 +19,12 @@
     1.4  	# Fixe group/owner
     1.5  	chown -R root.root $src
     1.6  
     1.7 -	sed -i -e "s/python2.4/$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')" \
     1.8 -	       -e "s/tcl8.4/$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')/" \
     1.9 +	python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')
    1.10 +	tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')
    1.11 +
    1.12 +	echo "Patching for $python and $tcl..."
    1.13 +	sed -i -e "s/python2.4/$python/" \
    1.14 +		-e "s/tcl8.4/$tcl/" \
    1.15  	     Makefile.in
    1.16  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.17  	--mandir=/usr/share/man $CONFIGURE_ARGS &&