Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2019 02:28:17 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505811 - head/devel/statcvs
Message-ID:  <201907040228.x642SHiZ086171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907040228.x642SHiZ086171>