openbsd-ports/devel/xulrunner/1.9/patches/patch-xulrunner_setup_nsXULAppInstall_js
martynas 2e5d9b5137 import xulrunner 1.9, and implement infrastructure for multiple
xulrunners.  this was necessary for smooth migration, since we want
plugins work for mozilla 1.8 branch too (seamonkey, thunderbird);
they are upwards-compatible if built against 1.8.  however, some
new applications started to depend on 1.9, and also other (non-plugin)
apps will start to migrate so that the old xulrunner can go away
requested by many;  bulk build & pkgpath & bump done by sthen@
2009-07-27 21:35:56 +00:00

12 lines
457 B
Plaintext

--- xulrunner/setup/nsXULAppInstall.js.orig Thu Dec 7 23:39:35 2006
+++ xulrunner/setup/nsXULAppInstall.js Sat Apr 11 14:13:47 2009
@@ -243,7 +243,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