b524d07986
- use SUBST_CMD instead of perl -pi -e - use ${LOCALBASE}/${TRUEPREFIX}/${X11BASE} instead of the handpatched _XXX_ ones - harmonize default systemwide plugins/extensions search path to lib/mozilla/{plugins,extensions} as done in other mozilla ports, but keep lib/mozilla-plugins added to MOZ_PLUGIN_PATH atm.
18 lines
828 B
Plaintext
18 lines
828 B
Plaintext
$OpenBSD: patch-xpcom_io_nsAppFileLocationProvider_cpp,v 1.1 2010/04/28 06:50:23 landry Exp $
|
|
--- xpcom/io/nsAppFileLocationProvider.cpp.orig Sat Apr 24 15:39:05 2010
|
|
+++ xpcom/io/nsAppFileLocationProvider.cpp Sat Apr 24 15:40:22 2010
|
|
@@ -254,12 +254,7 @@ nsAppFileLocationProvider::GetFile(const char *prop, P
|
|
}
|
|
#ifdef XP_UNIX
|
|
else if (nsCRT::strcmp(prop, NS_SYSTEM_PLUGINS_DIR) == 0) {
|
|
- static const char *const sysLPlgDir =
|
|
-#if defined(HAVE_USR_LIB64_DIR) && defined(__LP64__)
|
|
- "/usr/lib64/mozilla/plugins";
|
|
-#else
|
|
- "/usr/lib/mozilla/plugins";
|
|
-#endif
|
|
+ static const char *const sysLPlgDir = "${LOCALBASE}/lib/mozilla/plugins";
|
|
rv = NS_NewNativeLocalFile(nsDependentCString(sysLPlgDir),
|
|
PR_FALSE, getter_AddRefs(localFile));
|
|
}
|