svn commit: r505811 - head/devel/statcvs

Greg Lewis glewis at FreeBSD.org
Thu Jul 4 02:28:18 UTC 2019


Author: glewis
Date: Thu Jul  4 02:28:17 2019
New Revision: 505811
URL: https://svnweb.freebsd.org/changeset/ports/505811

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.

Modified:
  head/devel/statcvs/Makefile

Modified: head/devel/statcvs/Makefile
==============================================================================
--- head/devel/statcvs/Makefile	Thu Jul  4 00:39:36 2019	(r505810)
+++ head/devel/statcvs/Makefile	Thu Jul  4 02:28:17 2019	(r505811)
@@ -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 "


More information about the svn-ports-head mailing list