Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 16:44:16 +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: r506860 - head/devel/luajava
Message-ID:  <201907181644.x6IGiG1a054402@repo.freebsd.org>

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



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