diff options
author | skrll <skrll@pkgsrc.org> | 2002-06-10 11:40:53 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2002-06-10 11:40:53 +0000 |
commit | 700b1e6e40d61e0daf3894268a1c186f537e0c0e (patch) | |
tree | 92ede89b7562b34d034e5432c12e7d9bb9b16b41 | |
parent | be9c0bdb4f3e9975362c350f2759c27ce044f80f (diff) | |
download | pkgsrc-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>
-rw-r--r-- | mk/bsd.pkg.mk | 5 | ||||
-rw-r--r-- | x11/kdelibs3/Makefile | 4 |
2 files changed, 6 insertions, 3 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 diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile index c7aee391678..8ada9e94cda 100644 --- a/x11/kdelibs3/Makefile +++ b/x11/kdelibs3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/05/31 13:16:30 skrll Exp $ +# $NetBSD: Makefile,v 1.2 2002/06/10 11:40:54 skrll Exp $ DISTNAME= kdelibs-3.0.1 CATEGORIES= x11 @@ -44,7 +44,7 @@ REPLACE_PERL= \ ${WRKSRC}/kio/useragent.pl PLIST_SRC= ${WRKDIR}/PLIST -UNLIMIT_RESOURCES= datasize +UNLIMIT_RESOURCES= datasize memorysize .if defined(USE_CUPS) && (${USE_CUPS} == "YES") .include "../../print/cups/buildlink.mk" |