From 378f45234089fd1778e16f0bcd63bbe8fc372316 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 4 Jun 2011 07:30:19 +0000 Subject: [PATCH] Added patch for netsurf-2.7 to use finddir and to rename the NetSurf app dir to NetSurf instead of netsurf. --- www-client/netsurf/patches/netsurf-2.7.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 www-client/netsurf/patches/netsurf-2.7.patch diff --git a/www-client/netsurf/patches/netsurf-2.7.patch b/www-client/netsurf/patches/netsurf-2.7.patch new file mode 100644 index 000000000..a7e08f8cc --- /dev/null +++ b/www-client/netsurf/patches/netsurf-2.7.patch @@ -0,0 +1,18 @@ +diff -urN netsurf/Makefile.defaults netsurf-haiku/Makefile.defaults +--- netsurf/Makefile.defaults 2011-03-20 23:32:44.054525952 +0000 ++++ netsurf-haiku/Makefile.defaults 2011-06-04 00:09:37.272105472 +0000 +@@ -179,12 +179,12 @@ + + + # Where to install the netsurf binary +- NETSURF_BEOS_BIN := /boot/apps/netsurf/ ++ NETSURF_BEOS_BIN := $(shell finddir B_APPS_DIRECTORY)/NetSurf/ + + # TODO:HAIKU -- not sure if ~/.netsurf applies in beos + # Where to search for NetSurf's resources after looking in ~/.netsurf and + # $NETSURFRES. It must have a trailing / +- NETSURF_BEOS_RESOURCES := /boot/apps/netsurf/res/ ++ NETSURF_BEOS_RESOURCES := $(shell finddir B_APPS_DIRECTORY)/NetSurf/res/ + + # Enable NetSurf's use of libsvgtiny for displaying SVGs + # Valid options: YES, NO, AUTO