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:		238982
Approved by:	makc (maintainer)
This commit is contained in:
Greg Lewis
2019-07-07 23:13:20 +00:00
parent a9f9ede0bd
commit 8abfdc2b2b
+1 -1
View File
@@ -130,7 +130,7 @@ CONFIGURE_ARGS+= --without-openmp
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MGUI} && ${JAVA_PORT_VERSION:M1.8.*}
.if ${PORT_OPTIONS:MGUI} && ${JAVA_PORT_VERSION:M*8*}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in
.endif