Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2019 15:07:04 +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: r506804 - head/graphics/jogl
Message-ID:  <201907171507.x6HF7443040428@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glewis
Date: Wed Jul 17 15:07:04 2019
New Revision: 506804
URL: https://svnweb.freebsd.org/changeset/ports/506804

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:		238981
  Approved by:	peterj (maintainer)

Modified:
  head/graphics/jogl/Makefile

Modified: head/graphics/jogl/Makefile
==============================================================================
--- head/graphics/jogl/Makefile	Wed Jul 17 15:02:51 2019	(r506803)
+++ head/graphics/jogl/Makefile	Wed Jul 17 15:07:04 2019	(r506804)
@@ -51,20 +51,20 @@ ALL_TARGET+=	javadoc
 
 .include <bsd.port.pre.mk>
 
-.if ${JAVA_PORT_VERSION:M1.6.*}
+.if ${JAVA_PORT_VERSION:M*6*}
 PLIST_SUB+=	JDK6=""
 PLIST_SUB+=	JDK7="@comment "
 .endif
-.if ${JAVA_PORT_VERSION:M1.7.*}
+.if ${JAVA_PORT_VERSION:M*7*}
 PLIST_SUB+=	JDK6="@comment "
 PLIST_SUB+=	JDK7=""
 .endif
-.if ${JAVA_PORT_VERSION:M1.8.*}
+.if ${JAVA_PORT_VERSION:M*8*}
 PLIST_SUB+=	JDK6="@comment "
 PLIST_SUB+=	JDK7="@comment "
 .endif
 
-.if ${JAVA_PORT_VERSION:M1.8.*}
+.if ${JAVA_PORT_VERSION:M*8*}
 EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-build.xml
 .endif
 



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