pkgsrc/www/netsurf/patches/patch-netsurf
joerg 9f48fcec8a Import netsurf-1.2 from pkgsrc-wip:
Small as a mouse, fast as a cheetah and available for free.
NetSurf is a web browser for RISC OS and UNIX-like platforms.

Whether you want to check your webmail, read the news or post to
discussion forums, NetSurf is your lightweight gateway to the
world wide web.  Actively developed, NetSurf is continually evolving
and improving.
2008-06-23 15:05:09 +00:00

15 lines
404 B
Text

$NetBSD: patch-netsurf,v 1.1.1.1 2008/06/23 15:05:09 joerg Exp $
--- netsurf.orig 2007-02-06 17:52:47.000000000 +0100
+++ netsurf
@@ -12,6 +12,8 @@ else
LOG=netsurf-log.txt
fi
-NETSURFRES=`dirname $0`/gtk/res/
+NETBASEDIR=`dirname $0`/../share/netsurf
+
+NETSURFRES=$NETBASEDIR/gtk/res/
export NETSURFRES
-exec `dirname $0`/nsgtk "$@" 2>$LOG
+cd $NETBASEDIR && exec $NETBASEDIR/nsgtk "$@" 2>$LOG