The mozilla-firefox startup script should not overwrite MOZ_PLUGIN_PATH.
This allows me to have a normal firefox and a bloatzilla with plugins that
like to crash. I think mozilla-firefox should set the MOZ_PLUGIN_PATH to a
default if it is not yet defined. So here is my diff for this.

-- 
:wq Claudio

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/Makefile,v
retrieving revision 1.95
diff -u -p -r1.95 Makefile
--- Makefile    4 Jul 2008 13:47:25 -0000       1.95
+++ Makefile    11 Jul 2008 20:56:28 -0000
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= alpha amd64 arm i386 pow
 
 COMMENT=       redesign of Mozilla's browser component
 
-VER=           2.0.0.15
+VER=           2.0.0.15p0
 DISTNAME=      mozilla
 PKGNAME=       mozilla-firefox-${VER}
 SO_VERSION=    19.0
Index: patches/patch-browser_app_mozilla_in
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/patches/patch-browser_app_mozilla_in,v
retrieving revision 1.8
diff -u -p -r1.8 patch-browser_app_mozilla_in
--- patches/patch-browser_app_mozilla_in        28 Nov 2007 20:22:25 -0000      
1.8
+++ patches/patch-browser_app_mozilla_in        11 Jul 2008 20:58:36 -0000
@@ -11,7 +11,7 @@ $OpenBSD: patch-browser_app_mozilla_in,v
 +fi
 +
  moz_libdir=%MOZAPPDIR%
-+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
++MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=_LOCALBASE_/lib/mozilla-plugins}
  MRE_HOME=%MREDIR%
  
  # Use run-mozilla.sh in the current dir if it exists

Reply via email to