commit: 040c1d83edf3fa7992664595216f20e53ee54761 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sun Jan 10 20:34:46 2016 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sun Jan 10 20:50:04 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=040c1d83
dev-java/gnu-classpath: Build with regular javac instead of ECJ I believe GNU Classpath favoured ECJ because it was the only FOSS compiler capable of building it at the time. OpenJDK is now preferable and the statement in configure.ac that not using ECJ results in com.sun.tools.javac not being included doesn't hold true. The simplification is nice but this also avoids a race condition occuring with ECJ on ppc. This is almost certainly a CACAO issue. See http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2782. Package-Manager: portage-2.2.26 ...sspath-0.98-r4.ebuild => gnu-classpath-0.98-r5.ebuild} | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/dev-java/gnu-classpath/gnu-classpath-0.98-r4.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild similarity index 81% rename from dev-java/gnu-classpath/gnu-classpath-0.98-r4.ebuild rename to dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild index 2dc9217..7db6dd6 100644 --- a/dev-java/gnu-classpath/gnu-classpath-0.98-r4.ebuild +++ b/dev-java/gnu-classpath/gnu-classpath-0.98-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -7,7 +7,7 @@ EAPI=5 inherit eutils java-pkg-2 multilib MY_P=${P/gnu-/} -DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java language" +DESCRIPTION="Free core class libraries for use with Java VMs and compilers" SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" HOMEPAGE="https://www.gnu.org/software/classpath" @@ -45,7 +45,6 @@ RDEPEND="alsa? ( media-libs/alsa-lib ) xml? ( >=dev-libs/libxml2-2.6.8:2= >=dev-libs/libxslt-1.1.11 )" DEPEND="app-arch/zip - dev-java/eclipse-ecj gtk? ( x11-libs/libXrender >=x11-libs/libXtst-1.1.0 @@ -64,15 +63,6 @@ java_prepare() { } src_configure() { - # We require ecj anyway, so force it to avoid problems with bad versions of javac - export JAVAC="${EPREFIX}/usr/bin/ecj" - export JAVA="${EPREFIX}/usr/bin/java" - # build takes care of them itself, duplicate -source -target kills ecj - export JAVACFLAGS="-nowarn" - # build system is passing -J-Xmx768M which ecj however ignores - # this will make the ecj launcher do it (seen case where default was not enough heap) - export gjl_java_args="-Xmx768M" - # don't use econf, because it ends up putting things under /usr, which may # collide with other slots of classpath local myconf @@ -106,7 +96,6 @@ src_configure() { --disable-plugin \ --host=${CHOST} \ --prefix="${EPREFIX}"/usr/${PN}-${SLOT} \ - --with-ecj-jar=$(java-pkg_getjar --build-only eclipse-ecj-* ecj.jar) \ --disable-Werror \ ${myconf} || die "configure failed" }
