summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-03-29 03:54:18 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-03-29 03:54:18 +0000
commite2e279d1283bf709e4151799d7f4bbaecff27b90 (patch)
tree29ac2d95fdd5742755715d3a3cdd648fa379b213 /dev-java
parentadded RESTRICT="nomirror" (Manifest recommit) (diff)
downloadgentoo-2-e2e279d1283bf709e4151799d7f4bbaecff27b90.tar.gz
gentoo-2-e2e279d1283bf709e4151799d7f4bbaecff27b90.tar.bz2
gentoo-2-e2e279d1283bf709e4151799d7f4bbaecff27b90.zip
Kaffe now provides virtual/{jdk,jre}. This is one of the first baby steps to get Java fully functional on the hppa platform. The unwashed massed are warned about the potential havoc of setting kaffe as your defaul jdk/jre. I have no remorse ;)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/kaffe/ChangeLog8
-rw-r--r--dev-java/kaffe/kaffe-1.1.4.ebuild29
2 files changed, 30 insertions, 7 deletions
diff --git a/dev-java/kaffe/ChangeLog b/dev-java/kaffe/ChangeLog
index 18bfe7ab2974..e1f380243bda 100644
--- a/dev-java/kaffe/ChangeLog
+++ b/dev-java/kaffe/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/kaffe
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/ChangeLog,v 1.17 2004/03/22 16:32:15 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/ChangeLog,v 1.18 2004/03/29 03:54:18 zx Exp $
+
+ 01 Apr 2004; Chris Aniszczyk <zx@gentoo.org> kaffe-1.1.4.ebuild:
+ Kaffe now provides virtual's jre and jdk. The unwashed masses are warned about
+ the potential hazard this can be for them. The ebuild doesn't set the default
+ jdk to kaffe either. User's are warned. This is a first step in getting java
+ working on the hppa.
22 Mar 2004; Chris Aniszczyk <zx@gentoo.org> kaffe-1.1.4.ebuild:
Adding ~hppa... First JVM on HPPA :)
diff --git a/dev-java/kaffe/kaffe-1.1.4.ebuild b/dev-java/kaffe/kaffe-1.1.4.ebuild
index cd7f2314beee..46d102ee59a3 100644
--- a/dev-java/kaffe/kaffe-1.1.4.ebuild
+++ b/dev-java/kaffe/kaffe-1.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/kaffe-1.1.4.ebuild,v 1.3 2004/03/22 16:32:15 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kaffe/kaffe-1.1.4.ebuild,v 1.4 2004/03/29 03:54:18 zx Exp $
inherit java
@@ -8,15 +8,19 @@ DESCRIPTION="A cleanroom, open source Java VM and class libraries"
SRC_URI="http://www.kaffe.org/ftp/pub/kaffe/v1.1.x-development/${P/_/-}.tar.gz"
HOMEPAGE="http://www.kaffe.org/"
DEPEND=">=dev-libs/gmp-3.1
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- virtual/glibc
- virtual/x11
- >=dev-java/java-config-0.2.4"
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.2.1
+ virtual/glibc
+ virtual/x11
+ >=dev-java/java-config-0.2.4"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc ~hppa"
+PROVIDE="virtual/jdk-1.4
+ virtual/jre-1.4
+ virtual/java-scheme-2"
+
src_compile() {
./configure \
--prefix=/opt/${P} \
@@ -32,3 +36,16 @@ src_install () {
make DESTDIR=${D} install || die
set_java_env ${FILESDIR}/${VMHANDLE} || die
}
+
+pkg_postinst() {
+ ewarn
+ ewarn "-------------------------------------------------------"
+ ewarn "WARNING WARNING WARNING WARNING WARNING WARNING WARNING"
+ ewarn "-------------------------------------------------------"
+ ewarn "By all means, do not use Kaffe as your default JDK/JRE!"
+ ewarn "Kaffe is currently meant for testing... it should be"
+ ewarn "only be used by developers or bug-hunters willing to deal"
+ ewarn "with oddities that are bound to come up while using Kaffe!"
+ ewarn "-------------------------------------------------------"
+ ewarn
+}