summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2019-07-04 02:28:17 +0000
committerGreg Lewis <glewis@FreeBSD.org>2019-07-04 02:28:17 +0000
commitb3173ab81ae4eaee6f6c5bca4b5b0e1fe6e74bda (patch)
tree83ee36b256b224bc515e0e1fb8a68f27bb4f34a0
parentlang/rust-nightly: update to 1.36.0.20190704 (diff)
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.
Notes
Notes: svn path=/head/; revision=505811
-rw-r--r--devel/statcvs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/statcvs/Makefile b/devel/statcvs/Makefile
index 00a4445ec6b8..25e7571572cd 100644
--- a/devel/statcvs/Makefile
+++ b/devel/statcvs/Makefile
@@ -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 "