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.

PR:		238978
Approved by:	maintainer timeout
This commit is contained in:
Greg Lewis 2019-07-18 16:44:15 +00:00
parent 9c008669d5
commit 79d184a5e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506860

View file

@ -22,7 +22,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${JAVA_PORT_VERSION} == 1.7
.if ${JAVA_PORT_VERSION:M*7*}
PLIST_SUB+= JDK17=""
.else
PLIST_SUB+= JDK17="@comment "