openbsd-ports/devel/xulrunner/patches/patch-xulrunner_setup_nsXULAppInstall_js
kurt 96429b6933 import xulrunner 1.8.0.4
XULRunner is a single "gecko runtime" installable package that can be
used to bootstrap multiple XUL+XPCOM applications that are as rich as
Firefox and Thunderbird.  It will provide mechanisms for installing,
upgrading, and uninstalling these applications. XULRunner will also
provide libxul, a solution which allows the embedding of Mozilla
technologies in other projects and products.

Based on an initial port by James Wright <jamesw at bsdhosting.co.za>.
Improvements and okay steven@
2007-01-05 14:44:47 +00:00

12 lines
457 B
Plaintext

--- xulrunner/setup/nsXULAppInstall.js.orig Mon Feb 27 14:55:45 2006
+++ xulrunner/setup/nsXULAppInstall.js Tue Dec 26 08:13:12 2006
@@ -246,7 +246,7 @@ const AppInstall = {
#else
aDirectory = Components.classes["@mozilla.org/file/local;1"].
createInstance(nsILocalFile);
- aDirectory.initWithPath("/usr/lib");
+ aDirectory.initWithPath("_LOCALBASE_");
if (vendor)
aDirectory.append(vendor.toLowerCase());
#endif