openbsd-ports/www/fennec/patches/patch-xulrunner_setup_nsXULAppInstall_js
landry b715788993 Import fennec 4.0:
Firefox for mobile (codenamed Fennec) is the name of the build of the
Mozilla Firefox web browser for devices such as mobile phones and
personal digital assistants (PDAs).
While it initially targets android and maemo, it also works on desktop
machines, and can be useful on small screens or low-powered devices.

Looks ok to jasper@
2011-04-12 19:48:57 +00:00

12 lines
486 B
Plaintext

--- xulrunner/setup/nsXULAppInstall.js.orig Wed Jul 21 02:53:09 2010
+++ xulrunner/setup/nsXULAppInstall.js Sun Aug 1 13:01:43 2010
@@ -243,7 +243,7 @@ AppInstall.prototype = {
#else
aDirectory = Components.classes["@mozilla.org/file/local;1"].
createInstance(nsILocalFile);
- aDirectory.initWithPath("/usr/local/lib");
+ aDirectory.initWithPath("${LOCALBASE}/lib/xulrunner-2.0");
if (vendor)
aDirectory.append(vendor.toLowerCase());
#endif