commit:     63570d22f9d4b231889e8977a787f2dc815896d8
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 27 20:00:30 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 20:01:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63570d22

dev-java/eclipse.ecj: 4.13 changed to have source/target 1.8

it still needs jdk 11 to compile but the source and target used
is 1.8 now so it can be used even with packages that still need
to compile using jdk 1.8

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../{eclipse-ecj-4.13.ebuild => eclipse-ecj-4.13-r1.ebuild}         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.13.ebuild 
b/dev-java/eclipse-ecj/eclipse-ecj-4.13-r1.ebuild
similarity index 93%
rename from dev-java/eclipse-ecj/eclipse-ecj-4.13.ebuild
rename to dev-java/eclipse-ecj/eclipse-ecj-4.13-r1.ebuild
index 395198f56fe..2915e307740 100644
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.13.ebuild
+++ b/dev-java/eclipse-ecj/eclipse-ecj-4.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,13 +23,15 @@ COMMON_DEP="
        app-eselect/eselect-java
        dev-java/ant-core:0"
 RDEPEND="${COMMON_DEP}
-       >=virtual/jre-11"
+       >=virtual/jre-8"
 DEPEND="${COMMON_DEP}
        >=virtual/jdk-11
        app-arch/unzip"
 PDEPEND="
        ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
 
+JAVA_PKG_WANT_SOURCE="1.8"
+JAVA_PKG_WANT_TARGET="1.8"
 JAVA_JAR_FILENAME="${MY_PN}.jar"
 JAVA_GENTOO_CLASSPATH="ant-core"
 

Reply via email to