diff options
author | seb <seb@pkgsrc.org> | 2002-08-28 11:06:17 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-08-28 11:06:17 +0000 |
commit | 9a2cbf0ab0c3932effb25bf18d0e0bd146744dcb (patch) | |
tree | 75efa29b414c62f586837a52fa4ffc0196db8f5b /mk/defs.SunOS.mk | |
parent | 8b2d3c7f707b7cff7b9de3a7b400463844c70643 (diff) | |
download | pkgsrc-9a2cbf0ab0c3932effb25bf18d0e0bd146744dcb.tar.gz |
Allow more flexibility in the handling of UNLIMIT_RESOURCES.
Each word of UNLIMIT_RESOURCES is supposed to be a knob on
ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD.
The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable
by the user.
Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR
pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
Diffstat (limited to 'mk/defs.SunOS.mk')
-rw-r--r-- | mk/defs.SunOS.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index d19affcea5d..6a23849ddd0 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.26 2002/07/15 16:24:01 schmonz Exp $ +# $NetBSD: defs.SunOS.mk,v 1.27 2002/08/28 11:06:19 seb Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -78,6 +78,9 @@ ROOT_CMD?= ${SU} - root -c ROOT_GROUP?= root ROOT_USER?= root SERIAL_DEVICES?= /dev/null +ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` +ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` +ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v` USERADD?= /usr/sbin/useradd _DO_LIBINTL_CHECKS= yes # perform checks for valid libintl |