summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 19f814080db..f3416344fb1 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.987 2002/06/10 05:51:10 martti Exp $
+# $NetBSD: bsd.pkg.mk,v 1.988 2002/06/10 11:40:53 skrll Exp $
#
# This file is in the public domain.
#
@@ -248,6 +248,9 @@ _ULIMIT_CMD+= ulimit -d `ulimit -H -d`;
. if ${UNLIMIT_RESOURCES:Mstacksize} != ""
_ULIMIT_CMD+= ulimit -s `ulimit -H -s`;
. endif
+. if ${UNLIMIT_RESOURCES:Mmemorysize} != ""
+_ULIMIT_CMD+= ulimit -m `ulimit -H -m`;
+. endif
.endif
# -lintl in CONFIGURE_ENV is to workaround broken gettext.m4