2005-12-20 18:44:00 -05:00
|
|
|
$OpenBSD: patch-browser_app_mozilla_in,v 1.5 2005/12/20 23:44:00 bernd Exp $
|
|
|
|
--- browser/app/mozilla.in.orig Tue Sep 20 23:13:03 2005
|
|
|
|
+++ browser/app/mozilla.in Fri Oct 21 21:19:52 2005
|
|
|
|
@@ -93,6 +93,7 @@ moz_pis_startstop_scripts()
|
2004-02-15 14:37:14 -05:00
|
|
|
#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
|
2005-12-20 18:44:00 -05:00
|
|
|
@@ -130,6 +131,7 @@ if [ $found = 0 ]; then
|
2005-10-13 00:32:41 -04:00
|
|
|
# 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
|
2005-12-20 18:44:00 -05:00
|
|
|
@@ -171,7 +173,11 @@ do
|
2004-02-15 14:37:14 -05:00
|
|
|
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
|
2004-11-26 13:29:14 -05:00
|
|
|
|
|
|
|
## Start addon scripts
|
2005-09-24 12:19:29 -04:00
|
|
|
moz_pis_startstop_scripts "start"
|