78aeb076bf
MOZ_PLUGIN_PATH. bump pkgnames sure claudio@
31 lines
782 B
Plaintext
31 lines
782 B
Plaintext
$OpenBSD: patch-xpfe_bootstrap_mozilla_in,v 1.5 2008/07/21 19:19:06 martynas Exp $
|
|
--- xpfe/bootstrap/mozilla.in.orig Tue Jan 29 21:31:44 2008
|
|
+++ xpfe/bootstrap/mozilla.in Wed Feb 20 23:18:05 2008
|
|
@@ -92,7 +92,13 @@ moz_pis_startstop_scripts()
|
|
#uncomment for debugging
|
|
#set -x
|
|
|
|
+LIMIT=`ulimit -n`
|
|
+if [ $LIMIT -lt 128 -a "${LIMIT}" != "unlimited" ]; then
|
|
+ ulimit -Sn 128
|
|
+fi
|
|
+
|
|
moz_libdir=%MOZAPPDIR%
|
|
+MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=_LOCALBASE_/lib/mozilla-plugins}
|
|
MRE_HOME=%MREDIR%
|
|
|
|
# Use run-mozilla.sh in the current dir if it exists
|
|
@@ -274,7 +280,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"
|