svn commit: r506860 - head/devel/luajava
Greg Lewis
glewis at FreeBSD.org
Thu Jul 18 16:44:16 UTC 2019
Author: glewis
Date: Thu Jul 18 16:44:15 2019
New Revision: 506860
URL: https://svnweb.freebsd.org/changeset/ports/506860
Log:
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
Modified:
head/devel/luajava/Makefile
Modified: head/devel/luajava/Makefile
==============================================================================
--- head/devel/luajava/Makefile Thu Jul 18 16:39:36 2019 (r506859)
+++ head/devel/luajava/Makefile Thu Jul 18 16:44:15 2019 (r506860)
@@ -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 "
More information about the svn-ports-head
mailing list