summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-10-12 08:38:19 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-10-12 08:38:19 +0000
commit8ae59f4b9841055c79cf4378bc9490d18b9a4eea (patch)
treea54181447d37d5787beaf864b6ccd77e9868503f /mk
parentbc6fe675bb9189d3eedf482e20a0d310a7528fc1 (diff)
downloadpkgsrc-8ae59f4b9841055c79cf4378bc9490d18b9a4eea.tar.gz
`ulimit' can't parse localized messages of "unlimited"; force `ulimit -H
...' to print out the C-locale message. Problem reported by Hiroyuki Nakaji.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/SunOS.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/platform/SunOS.mk b/mk/platform/SunOS.mk
index b88dcf1f2a5..715d0a67c8c 100644
--- a/mk/platform/SunOS.mk
+++ b/mk/platform/SunOS.mk
@@ -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_CMD?= ${SU} - root -c
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