summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorskrll <skrll>2002-06-10 11:40:53 +0000
committerskrll <skrll>2002-06-10 11:40:53 +0000
commitcbc61e523590fc53b252f1068fcaf02bc0ee1b43 (patch)
tree92ede89b7562b34d034e5432c12e7d9bb9b16b41 /mk
parent1f3d6325121271b095dc160d22e4cd922bc9d037 (diff)
downloadpkgsrc-cbc61e523590fc53b252f1068fcaf02bc0ee1b43.tar.gz
Allow memorysize as an option in UNLIMIT_RESOURCE.
Use it in kdelibs3. This closes pkg/17164 from Eric Jacoboni <jaco@scrogneugneu.org>
Diffstat (limited to '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