summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2002-06-10 11:40:53 +0000
committerskrll <skrll@pkgsrc.org>2002-06-10 11:40:53 +0000
commit700b1e6e40d61e0daf3894268a1c186f537e0c0e (patch)
tree92ede89b7562b34d034e5432c12e7d9bb9b16b41 /mk
parentbe9c0bdb4f3e9975362c350f2759c27ce044f80f (diff)
downloadpkgsrc-700b1e6e40d61e0daf3894268a1c186f537e0c0e.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