diff options
author | skrll <skrll> | 2002-06-10 11:40:53 +0000 |
---|---|---|
committer | skrll <skrll> | 2002-06-10 11:40:53 +0000 |
commit | 2b6d01535573e46e580d5e8d0c16ab08f13e0bbb (patch) | |
tree | 92ede89b7562b34d034e5432c12e7d9bb9b16b41 /mk/bsd.pkg.mk | |
parent | b964e44d51555e55c9212623970cb8998c90c716 (diff) | |
download | pkgsrc-2b6d01535573e46e580d5e8d0c16ab08f13e0bbb.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/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
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 |