29 lines
683 B
Plaintext
29 lines
683 B
Plaintext
$OpenBSD: patch-mozilla_build_unix_mozilla_in,v 1.3 2011/12/08 02:25:59 nigel Exp $
|
|
--- mozilla/build/unix/mozilla.in.orig Sat Nov 5 09:20:24 2011
|
|
+++ mozilla/build/unix/mozilla.in Tue Nov 8 15:36:39 2011
|
|
@@ -50,6 +50,11 @@
|
|
#uncomment for debugging
|
|
#set -x
|
|
|
|
+LIMIT=`ulimit -n`
|
|
+if [ $LIMIT -lt 128 -a "${LIMIT}" != "unlimited" ]; then
|
|
+ ulimit -Sn 128
|
|
+fi
|
|
+
|
|
moz_libdir=%MOZAPPDIR%
|
|
|
|
# Use run-mozilla.sh in the current dir if it exists
|
|
@@ -131,6 +136,12 @@ do
|
|
;;
|
|
esac
|
|
done
|
|
+
|
|
+if [ `${X11BASE}/bin/fc-list | wc -l` -eq 0 ]; then
|
|
+ export GDK_USE_XFT=0
|
|
+fi
|
|
+
|
|
+export MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:=${LOCALBASE}/lib/mozilla-plugins}
|
|
|
|
if [ $debugging = 1 ]
|
|
then
|