openbsd-ports/www/seamonkey/patches/patch-mozilla_build_unix_mozilla_in
landry 4026e2478b Update to seamonkey 2.2, based on Firefox/Thunderbird/Gecko 5.
See http://www.seamonkey-project.org/releases/seamonkey2.2/ for details.
- sync ipc patches from Firefox
- remove a bunch of useless patches
- install under lib/seamonkey-2.2 instead of using our homegrown install
  target.
- install langpacks as plain xpi instead of unzipping them, greatly
  shrinking PLIST
2011-07-24 07:31:57 +00:00

29 lines
684 B
Plaintext

$OpenBSD: patch-mozilla_build_unix_mozilla_in,v 1.2 2011/07/24 07:31:57 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