summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-11-29 21:15:42 +0000
committerschmonz <schmonz@pkgsrc.org>2002-11-29 21:15:42 +0000
commit53521aa4187bc34d3b8a054cb4938d69b0b580e0 (patch)
tree31b794061b2cd563e9b1424ece44b0cc7d1ff5ce /lang
parent88a2b79832d8c21f448247a6040e41154b034116 (diff)
downloadpkgsrc-53521aa4187bc34d3b8a054cb4938d69b0b580e0.tar.gz
Default to green threads on powerpc, as suggested by manu@.
Diffstat (limited to 'lang')
-rw-r--r--lang/blackdown-jre13/distinfo6
-rw-r--r--lang/blackdown-jre13/patches/patch-ab15
-rw-r--r--lang/blackdown-jre13/patches/patch-ac19
3 files changed, 33 insertions, 7 deletions
diff --git a/lang/blackdown-jre13/distinfo b/lang/blackdown-jre13/distinfo
index 1712ab1384c..468d91ce8ec 100644
--- a/lang/blackdown-jre13/distinfo
+++ b/lang/blackdown-jre13/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/11/25 14:07:42 schmonz Exp $
+$NetBSD: distinfo,v 1.4 2002/11/29 21:15:42 schmonz Exp $
SHA1 (j2re-1.3.1-02b-FCS-linux-i386.bin) = 73ee522135a920c41ec8d7cbe8b06a252ddf94da
Size (j2re-1.3.1-02b-FCS-linux-i386.bin) = 13435648 bytes
@@ -9,6 +9,6 @@ Size (j2re-1.3.1-02b-FCS-linux-ppc.bin) = 11027038 bytes
SHA1 (j2re-1.3.1-02b-FCS-linux-sparc.bin) = 804078914cc4ba3092a2c8a6ff01039b39ea438f
Size (j2re-1.3.1-02b-FCS-linux-sparc.bin) = 10636584 bytes
SHA1 (patch-aa) = 04672c2b7571b9e7ee3cdd84388f5577f89a79ce
-SHA1 (patch-ab) = ef44e24f8737819c05a15ce6d329d46376270b34
-SHA1 (patch-ac) = 16fdfdea9478f5661ca33ba349c9b36f06468599
+SHA1 (patch-ab) = 129107c74a7425aed6a9c4839e486af386f3595c
+SHA1 (patch-ac) = b393490dd11340ecf882769d0c5ebb4713c6cee1
SHA1 (patch-ad) = ad981884c73e0d1d6ebcc8e131aa8b7e406df033
diff --git a/lang/blackdown-jre13/patches/patch-ab b/lang/blackdown-jre13/patches/patch-ab
index 36d3715bdf8..812c58a5f40 100644
--- a/lang/blackdown-jre13/patches/patch-ab
+++ b/lang/blackdown-jre13/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2002/09/08 09:59:52 schmonz Exp $
+$NetBSD: patch-ab,v 1.2 2002/11/29 21:15:43 schmonz Exp $
--- bin/.java_wrapper.orig Sat Mar 16 07:18:50 2002
+++ bin/.java_wrapper
@@ -12,3 +12,16 @@ $NetBSD: patch-ab,v 1.1 2002/09/08 09:59:52 schmonz Exp $
*)
proc="`uname -m`"
;;
+@@ -70,7 +73,11 @@ JREHOME="`${jre}/bin/realpath ${JREHOME}
+ export APPHOME JREHOME
+
+ # Interpret THREADS_FLAG environment variable, if set.
+-DEFAULT_THREADS_FLAG=native
++if [ "${proc}" = "ppc" ]; then
++ DEFAULT_THREADS_FLAG=green
++else
++ DEFAULT_THREADS_FLAG=native
++fi
+ if [ "${THREADS_FLAG}" = green -o "${THREADS_FLAG}" = native ]; then
+ THREADS_TYPE="${THREADS_FLAG}_threads"
+ elif [ "x${THREADS_FLAG}" = x ]; then
diff --git a/lang/blackdown-jre13/patches/patch-ac b/lang/blackdown-jre13/patches/patch-ac
index 39f31e71bc7..d15a537cbe6 100644
--- a/lang/blackdown-jre13/patches/patch-ac
+++ b/lang/blackdown-jre13/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1 2002/11/25 14:07:43 schmonz Exp $
+$NetBSD: patch-ac,v 1.2 2002/11/29 21:15:43 schmonz Exp $
---- bin/j2sdk-config.orig Mon Nov 25 07:10:07 2002
+--- bin/j2sdk-config.orig Sat Mar 16 14:23:41 2002
+++ bin/j2sdk-config
-@@ -25,6 +25,9 @@
+@@ -25,6 +25,9 @@ case "`uname -m`" in
sparc*)
proc=sparc
;;
@@ -12,3 +12,16 @@ $NetBSD: patch-ac,v 1.1 2002/11/25 14:07:43 schmonz Exp $
*)
proc="`uname -m`"
;;
+@@ -64,7 +67,11 @@ JREHOME="`${jre}/bin/realpath ${JREHOME}
+ export APPHOME JREHOME
+
+ # Interpret THREADS_FLAG environment variable, if set.
+-DEFAULT_THREADS_FLAG=native
++if [ "${proc}" = "ppc" ]; then
++ DEFAULT_THREADS_FLAG=green
++else
++ DEFAULT_THREADS_FLAG=native
++fi
+ if [ "${THREADS_FLAG}" = green -o "${THREADS_FLAG}" = native ]; then
+ THREADS_TYPE="${THREADS_FLAG}_threads"
+ elif [ "x${THREADS_FLAG}" = x ]; then