1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix build with Java 12+

PR:		247334
Submitted by:	Michael Osipov <michael.osipov@siemens.com> (maintainer)
MFH:		2020Q2
This commit is contained in:
Li-Wen Hsu 2020-06-18 04:02:48 +00:00
parent 16db0dcec6
commit f83997f9e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=539523

View File

@ -0,0 +1,14 @@
--- build-tests.xml.orig 2019-10-30 07:02:29 UTC
+++ build-tests.xml
@@ -31,10 +31,7 @@
<!-- Does Java include the JavaScript Engine ? -->
<condition property="java-includes-jsEngine">
- <and>
- <isfalse value="${is.java 1.5 or lower}"/>
- <istrue value="${is.JavaSunOracleApple}"/>
- </and>
+ <javaversion atleast="1.8"/>
</condition>
<!-- platform -->