pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform `ulimit' can't parse localized messages of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9eba34073c7c
branches:  trunk
changeset: 481779:9eba34073c7c
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Tue Oct 12 08:38:19 2004 +0000

description:
`ulimit' can't parse localized messages of "unlimited"; force `ulimit -H
...' to print out the C-locale message.  Problem reported by Hiroyuki
Nakaji.

diffstat:

 mk/platform/SunOS.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 122f16389d1f -r 9eba34073c7c mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk      Tue Oct 12 08:31:17 2004 +0000
+++ b/mk/platform/SunOS.mk      Tue Oct 12 08:38:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.2 2004/10/07 02:01:39 jlam Exp $
+# $NetBSD: SunOS.mk,v 1.3 2004/10/12 08:38:19 uebayasi Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -101,9 +101,9 @@
 ROOT_GROUP?=           root
 ROOT_USER?=            root
 SERIAL_DEVICES?=       /dev/null
-ULIMIT_CMD_datasize?=  ulimit -d `ulimit -H -d`
-ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
-ULIMIT_CMD_memorysize?=        ulimit -v `ulimit -H -v`
+ULIMIT_CMD_datasize?=  ulimit -d `${SETENV} LC_MESSAGES=C ulimit -H -d`
+ULIMIT_CMD_stacksize?= ulimit -s `${SETENV} LC_MESSAGES=C ulimit -H -s`
+ULIMIT_CMD_memorysize?=        ulimit -v `${SETENV} LC_MESSAGES=C ulimit -H -v`
 USERADD?=              /usr/sbin/useradd
 
 # imake installs manpages in weird places



Home | Main Index | Thread Index | Old Index