openbsd-ports/www/mozilla-firefox/patches/patch-xulrunner_setup_nsXULAppInstall_js
landry 9115e98919 Switch mozilla-firefox to use systemwide nss/nspr, and remove the
corresponding libs from SHARED_LIBS/PLIST. Bump minor and PKGNAME.
Bring in a pair of patches from xulrunner, and add a DIRECTORY variable
as done in xulrunner that is subst'ed in config/autoconf.mk.in.
sthen@ likes.
2010-06-12 15:00:12 +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