summaryrefslogtreecommitdiff
path: root/recipes/mozilla/firefox-3.6.2/plugins-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mozilla/firefox-3.6.2/plugins-dir.patch')
-rw-r--r--recipes/mozilla/firefox-3.6.2/plugins-dir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-3.6.2/plugins-dir.patch b/recipes/mozilla/firefox-3.6.2/plugins-dir.patch
new file mode 100644
index 0000000000..2c8b8e9bd1
--- /dev/null
+++ b/recipes/mozilla/firefox-3.6.2/plugins-dir.patch
@@ -0,0 +1,16 @@
+Index: mozilla-1.9.1/build/unix/mozilla.in
+===================================================================
+--- mozilla-1.9.1.orig/build/unix/mozilla.in
++++ mozilla-1.9.1/build/unix/mozilla.in
+@@ -52,6 +52,11 @@
+
+ moz_libdir=%MOZAPPDIR%
+
++if test -d /usr/lib/mozilla/plugins; then
++ MOZ_PLUGIN_PATH="${MOZ_PLUGIN_PATH:+"$MOZ_PLUGIN_PATH:"}/usr/lib/mozilla/plugins"
++ export MOZ_PLUGIN_PATH
++fi
++
+ # Use run-mozilla.sh in the current dir if it exists
+ # If not, then start resolving symlinks until we find run-mozilla.sh
+ found=0