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:28:17 +00:00
parent 0b56f0eef3
commit b3173ab81a

View File

@@ -38,7 +38,7 @@ DOCS_ALL_TARGET=javadoc
.include <bsd.port.pre.mk>
.if ${JAVA_PORT_VERSION} == "1.6.0"
.if ${JAVA_PORT_VERSION:M*6*}
PLIST_SUB+= JDK6=""
.else
PLIST_SUB+= JDK6="@comment "