openbsd-ports/www/seamonkey/patches/patch-mozilla_build_unix_mozilla_in
landry 7fb16329b9 Major update to seamonkey 2.0.4, now built upon mozilla-1.9.1/firefox
3.5/thunderbird 3 codebase. See for details:
http://www.seamonkey-project.org/releases/seamonkey2.0.4/
Backing up your profile before upgrading is recommended..
Update also largely based on www/firefox35 port.
Tested on i386/amd64/sparc64/powerpc by myself and on alpha by naddy@

ok naddy@
2010-04-03 09:30:14 +00:00

29 lines
684 B
Plaintext

$OpenBSD: patch-mozilla_build_unix_mozilla_in,v 1.1 2010/04/03 09:30:14 landry Exp $
--- mozilla/build/unix/mozilla.in.orig Sat Dec 5 02:55:56 2009
+++ mozilla/build/unix/mozilla.in Sat Jan 16 16:31:41 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
@@ -129,6 +134,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