Adjust to proposed changes in Java versioning

* Bug #238758 proposes to change the Java versioning from versions such
  as "1.6.0" to versions such as "6" (for example).  Modify the Makefile
  checks on JAVA_PORT_VERSION to cope with either format.
This commit is contained in:
Greg Lewis 2019-07-04 02:40:49 +00:00
parent b3173ab81a
commit 6468b14015
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505812

View File

@ -81,7 +81,7 @@ JUNIT_JAR= ${JAVALIBDIR}/junit.jar
.include <bsd.port.pre.mk>
.if ${JAVA_PORT_VERSION} == "1.6.0"
.if ${JAVA_PORT_VERSION:M*6*}
pre-extract:
@${ECHO_MSG}
@${ECHO_MSG} "IMPORTANT: To build IcedTea-Web ${PORTVERSION}, you have to turn on 'ICEDTEA' option"