Added patch for netsurf-2.7 to use finddir and to rename the NetSurf app dir to NetSurf instead of netsurf.

This commit is contained in:
Scott McCreary
2011-06-04 07:30:19 +00:00
parent 7a1e05e344
commit 378f452340

View File

@@ -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