dev-lang/nqp: Force JDK/JRE 8 in dependencies
authorKent Fredric <kentnl@gentoo.org>
Wed, 7 Aug 2019 09:59:09 +0000 (21:59 +1200)
committerKent Fredric <kentnl@gentoo.org>
Wed, 7 Aug 2019 11:41:45 +0000 (23:41 +1200)
commit07051bf7565cea2a153d22d3c41205de48ca54ad
tree4abcc7ee5f5f1689119cd3d1e7154874470b6560
parent679079fe60f729e473f2eb3ea5be36685aa9fca0
dev-lang/nqp: Force JDK/JRE 8 in dependencies

Due to jdk/jre-1.7 being mentioned in (R)DEPEND, java-pkg_javac-args
injects "-source 1.7 -target 1.7" into the javac invocation, which is
silly, as nqp then appends "-source 1.8" to it anyway, resulting in:

  javac -source 1.7 -target 1.7 -source 1.8 ....

And javac then barfs:

  javac: source release 1.8 requires target release 1.8

Bumping the values in DEPENDS changes the javac invocation to:

  javac -source 1.8 -target 1.8 -source 1.8 ...

Which of course then works.

Subsequently, all existing nqp versions (other than -9999) now work
for me with USE="java" just fine, where previously they wouldn't work
at all.

Closes: https://bugs.gentoo.org/631226
Closes: https://bugs.gentoo.org/626486
Closes: https://bugs.gentoo.org/635902
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
dev-lang/nqp/nqp-2018.06-r1.ebuild [moved from dev-lang/nqp/nqp-2018.06.ebuild with 98% similarity]
dev-lang/nqp/nqp-2018.08-r1.ebuild [moved from dev-lang/nqp/nqp-2018.08.ebuild with 98% similarity]
dev-lang/nqp/nqp-2018.09-r1.ebuild [moved from dev-lang/nqp/nqp-2018.09.ebuild with 98% similarity]
dev-lang/nqp/nqp-2018.12-r1.ebuild [moved from dev-lang/nqp/nqp-2018.12.ebuild with 98% similarity]
dev-lang/nqp/nqp-2019.03-r1.ebuild [new file with mode: 0644]
dev-lang/nqp/nqp-2019.03.ebuild [deleted file]
dev-lang/nqp/nqp-9999.ebuild