summaryrefslogtreecommitdiff
path: root/mk/java.mk
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-11-25 18:16:33 +0000
committerschmonz <schmonz@pkgsrc.org>2002-11-25 18:16:33 +0000
commit7de9ecd6131f04749424ec7e4a22ed4f7f1c8071 (patch)
treebf35234168245c14752fdd886af5fa76b16dbc64 /mk/java.mk
parent9c667c5041cd530404537d4972a6ef833ff9855f (diff)
downloadpkgsrc-7de9ecd6131f04749424ec7e4a22ed4f7f1c8071.tar.gz
Use green threads with blackdown-jdk13 on NetBSD/powerpc.
Diffstat (limited to 'mk/java.mk')
-rw-r--r--mk/java.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/java.mk b/mk/java.mk
index 9fb20e70d50..a82f4ab87fd 100644
--- a/mk/java.mk
+++ b/mk/java.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java.mk,v 1.5 2002/10/14 12:10:54 jlam Exp $
+# $NetBSD: java.mk,v 1.6 2002/11/25 18:16:33 schmonz Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
@@ -191,6 +191,11 @@ _JDK_PKGSRCDIR= ../../lang/blackdown-jdk13
_JRE_PKGSRCDIR= ../../lang/blackdown-jre13
_JRE_DEPENDENCY= blackdown-jre13-[0-9]*:${_JRE_PKGSRCDIR}
_JAVA_HOME_DEFAULT= ${LOCALBASE}/java/blackdown-1.3.1
+. if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc)
+MAKE_ENV+= THREADS_FLAG="green"
+CONFIGURE_ENV+= THREADS_FLAG="green"
+SCRIPTS_ENV+= THREADS_FLAG="green"
+. endif
.elif ${_PKG_JVM} == "kaffe"
_JDK_PKGSRCDIR= ../../lang/kaffe
_JRE_PKGSRCDIR= ../../lang/kaffe