soft fd to 128, as has been done for firefox; researched, help and

ok kurt@
This commit is contained in:
martynas 2007-06-13 12:06:59 +00:00
parent e8d61b3065
commit d4787c47ee
2 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.55 2007/04/30 22:40:31 martynas Exp $
# $OpenBSD: Makefile,v 1.56 2007/06/13 12:06:59 martynas Exp $
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64
@ -7,7 +7,7 @@ COMMENT= "redesign of the integrated Mozilla App-Suite mail component"
VER= 2.0.0.0
DISTNAME= mozilla
PKGNAME= mozilla-thunderbird-${VER}
PKGNAME= mozilla-thunderbird-${VER}p0
SO_VERSION= 13.0
# NOTE: Must bump minor version if any shlib's are removed from the
# components dir to avoid pkg_add -r issues. Whenever PKGNAME gets

View File

@ -1,15 +1,21 @@
$OpenBSD: patch-mail_app_mozilla_in,v 1.7 2007/04/30 22:40:31 martynas Exp $
$OpenBSD: patch-mail_app_mozilla_in,v 1.8 2007/06/13 12:06:59 martynas Exp $
--- mail/app/mozilla.in.orig Wed Sep 21 00:13:05 2005
+++ mail/app/mozilla.in Sun Mar 11 20:16:05 2007
@@ -93,6 +93,7 @@ moz_pis_startstop_scripts()
+++ mail/app/mozilla.in Wed Jun 13 00:29:03 2007
@@ -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=_LOCALBASE_/lib/mozilla-plugins
MRE_HOME=%MREDIR%
# Use run-mozilla.sh in the current dir if it exists
@@ -170,7 +171,11 @@ do
@@ -170,7 +176,11 @@ do
esac
done