28bb810af5
Merge patches for 1.9.2 mozilla branch from firefox 3.6.x port. While here, build lightning as a subpackage using --enable-calendar. Add @pkgpath/@conflict markers for seamless upgrades.
29 lines
684 B
Plaintext
29 lines
684 B
Plaintext
$OpenBSD: patch-mozilla_build_unix_mozilla_in,v 1.2 2010/07/27 17:01:16 landry Exp $
|
|
--- mozilla/build/unix/mozilla.in.orig Wed Jun 23 19:46:30 2010
|
|
+++ mozilla/build/unix/mozilla.in Wed Jul 7 08:43:04 2010
|
|
@@ -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
|