Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2015 07:23:46 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400637 - head/net/openmq
Message-ID:  <201511020723.tA27NkQS018556@repo.freebsd.org>

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



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