summaryrefslogtreecommitdiff
path: root/mk/defs.Darwin.mk
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-08-28 11:06:17 +0000
committerseb <seb@pkgsrc.org>2002-08-28 11:06:17 +0000
commit9a2cbf0ab0c3932effb25bf18d0e0bd146744dcb (patch)
tree75efa29b414c62f586837a52fa4ffc0196db8f5b /mk/defs.Darwin.mk
parent8b2d3c7f707b7cff7b9de3a7b400463844c70643 (diff)
downloadpkgsrc-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.Darwin.mk')
-rw-r--r--mk/defs.Darwin.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk
index 1a40f81ef54..4d8eda806bd 100644
--- a/mk/defs.Darwin.mk
+++ b/mk/defs.Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Darwin.mk,v 1.26 2002/07/15 16:24:01 schmonz Exp $
+# $NetBSD: defs.Darwin.mk,v 1.27 2002/08/28 11:06:18 seb Exp $
#
# Variable definitions for the Darwin operating system.
@@ -67,6 +67,9 @@ ROOT_CMD?= sudo sh -c
ROOT_GROUP?= wheel
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 -m `ulimit -H -m`
USERADD?= ${FALSE} # XXX - Fix me!
ZOULARISBASE?= ${LOCALBASE}