openbsd-ports/www/firefox36/patches/patch-xulrunner_setup_nsXULAppInstall_js
landry 17b63192b8 Resurrect www/firefox36 from the Attic, installing 3.6.16 in
${LOCALBASE}/firefox36 with firefox36 binary. Needed for archs
firefox 4 doesn't support (yet?). Yes, i'm looking at you sparc64.
Not yet linked to the build.
2011-03-26 10:58:36 +00:00

12 lines
471 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}/xulrunner1.9");
if (vendor)
aDirectory.append(vendor.toLowerCase());
#endif