pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/openjdk7 Reduce PTHREAD_STACKSIZE to 1024 in the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dcad65ad842f
branches:  trunk
changeset: 568702:dcad65ad842f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Dec 16 21:54:27 2009 +0000

description:
Reduce PTHREAD_STACKSIZE to 1024 in the build environment for netbsd-4.
Seems to fix odd out of memory errors. From Robert Elz.

diffstat:

 lang/openjdk7/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r e7f3defda34a -r dcad65ad842f lang/openjdk7/Makefile
--- a/lang/openjdk7/Makefile    Wed Dec 16 21:44:13 2009 +0000
+++ b/lang/openjdk7/Makefile    Wed Dec 16 21:54:27 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/12/15 15:16:15 tnn Exp $
+# $NetBSD: Makefile,v 1.12 2009/12/16 21:54:27 tnn Exp $
 
 DISTNAME=      openjdk-7-ea-src-b75-30_oct_2009
 PKGNAME=       openjdk7-1.7.0.75.20091106
@@ -144,6 +144,10 @@
        ln -s ${LOWER_OPSYS}/jni_md.h                                   \
          ${DESTDIR}${JAVA_HOME}/include/jni_md.h
 
+.if !empty(MACHINE_PLATFORM:MNetBSD-4.*-*)
+MAKE_ENV+=     PTHREAD_STACKSIZE=1024
+.endif
+
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 BUILDLINK_DEPMETHOD.cups?=     build



Home | Main Index | Thread Index | Old Index