wok-current rev 9241

Fixed netsurf.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 12 15:10:26 2011 +0000 (2011-03-12)
parents 2372be9d040c
children 9272b69b5779
files netsurf/receipt
line diff
     1.1 --- a/netsurf/receipt	Sat Mar 12 21:07:29 2011 +0100
     1.2 +++ b/netsurf/receipt	Sat Mar 12 15:10:26 2011 +0000
     1.3 @@ -20,6 +20,10 @@
     1.4  {
     1.5  	mv netsurf $PACKAGE-$VERSION 2>/dev/null
     1.6  	cd $src
     1.7 +	sed -i 's#GtkNotebookPage#GtkWidget#' gtk/gtk_tabs.c
     1.8 +	sed -i 's#GTK_WIDGET_SET_FLAGS(GTK_WIDGET(g->layout), GTK_CAN_FOCUS);#gtk_widget_set_can_focus(GTK_WIDGET(g->layout), true);#' \
     1.9 +            gtk/gtk_window.c
    1.10 +
    1.11  	cp -a ../stuff/Makefile.config .
    1.12  	
    1.13  	# Fix install target
    1.14 @@ -27,7 +31,8 @@
    1.15  	sed -i 's/cp -v/cp /' Makefile
    1.16  	sed -i 's|/usr/local|/usr|' Makefile.defaults
    1.17  	
    1.18 -	make && make DESTDIR=$PWD/_pkg install
    1.19 +	make install DESTDIR=$PWD/_pkg PREFIX=/usr
    1.20 +
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.