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.NetBSD.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.NetBSD.mk')
-rw-r--r-- | mk/defs.NetBSD.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 22858ad447d..eb8ff210eb5 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.26 2002/07/15 16:24:01 schmonz Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.27 2002/08/28 11:06:19 seb Exp $ # # Variable definitions for the NetBSD operating system. @@ -75,6 +75,9 @@ PKG_TOOLS_BIN?= /usr/sbin ROOT_CMD?= ${SU} - root -c ROOT_USER?= root ROOT_GROUP?= wheel +ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` +ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` +ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` _DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _DO_SHLIB_CHECKS= yes # fixup PLIST for shared libs/run ldconfig |