svn commit: r400637 - head/net/openmq

John Marino marino at FreeBSD.org
Mon Nov 2 07:23:47 UTC 2015


Author: marino
Date: Mon Nov  2 07:23:46 2015
New Revision: 400637
URL: https://svnweb.freebsd.org/changeset/ports/400637

Log:
  net/openmq: Specify which java versions work to enable bulk build
  
  Rather than have this port (and its slave) fail by default, list the
  valid java versions that work.
  
  Before: java 1.6+ are valid, fails since 1.8 is chosen
  Now:    java 1.6 and 1.7 are valid, succeeds with chosen 1.7
  
  Approved by:	just fix it

Modified:
  head/net/openmq/Makefile

Modified: head/net/openmq/Makefile
==============================================================================
--- head/net/openmq/Makefile	Mon Nov  2 07:13:53 2015	(r400636)
+++ head/net/openmq/Makefile	Mon Nov  2 07:23:46 2015	(r400637)
@@ -25,7 +25,7 @@ BOOTJARS=	javaee-api-6.0.jar:2 \
 
 USES=		zip
 USE_JAVA=	yes
-JAVA_VERSION=	1.6+
+JAVA_VERSION=	1.6 1.7
 JAVA_VENDOR=	openjdk
 
 WRKSRC=		${WRKDIR}/mq
@@ -43,11 +43,7 @@ USE_RC_SUBR=	imq
 SUB_FILES=	pkg-message
 .endif
 
-.include <bsd.port.pre.mk>
- 
-.if ${JAVA_PORT_VERSION:M1.8.*}
-BROKEN=		Does not build with JDK 1.8
-.endif
+.include <bsd.port.options.mk>
 
 # Get the bootstrap jars in place before the build starts, because
 # pointyhat doesn't allow them to be downloaded by the "bootstrap"
@@ -125,4 +121,4 @@ do-install:
 		@${INSTALL_DATA} ${WRKSRC}/dist/mq/lib/imqxm.jar ${STAGEDIR}${JAVAJARDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list