openbsd-ports/www/mozilla-firefox/patches/patch-browser_app_mozilla_in
bernd 6c26bb90b1 If we start a second firefox, don't show the profile chooser but open a
new browser window instead. (The same for thunderbird and mozilla.)

Idea from Marc Winiger <mw at msys.ch>, thanks!

suggestions, tests & ok kurt@
2005-10-13 04:32:41 +00:00

33 lines
901 B
Plaintext

$OpenBSD: patch-browser_app_mozilla_in,v 1.4 2005/10/13 04:32:41 bernd Exp $
--- browser/app/mozilla.in.orig Tue Sep 20 23:10:28 2005
+++ browser/app/mozilla.in Wed Oct 12 13:06:37 2005
@@ -73,6 +73,7 @@ moz_pis_startstop_scripts()
#set -x
moz_libdir=%MOZAPPDIR%
+MOZ_PLUGIN_PATH=_LOCALBASE_/lib/mozilla-plugins
MRE_HOME=%MREDIR%
# Use run-mozilla.sh in the current dir if it exists
@@ -110,6 +111,7 @@ if [ $found = 0 ]; then
# Check default compile-time libdir
if [ -x "$moz_libdir/run-mozilla.sh" ]; then
dist_bin="$moz_libdir"
+ run_moz="$dist_bin/run-mozilla.sh"
else
echo "Cannot find mozilla runtime directory. Exiting."
exit 1
@@ -217,7 +219,11 @@ do
esac
done
-export MRE_HOME
+if [ `_X11BASE_/bin/fc-list | wc -l` -eq 0 ]
+then export GDK_USE_XFT=0
+fi
+
+export MOZ_PLUGIN_PATH MRE_HOME
## Start addon scripts
moz_pis_startstop_scripts "start"