Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 22:21:54 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306403 - head/java/bootstrap-openjdk
Message-ID:  <201210252221.q9PMLs7t058830@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Oct 25 22:21:53 2012
New Revision: 306403
URL: http://svn.freebsd.org/changeset/ports/306403

Log:
  Register javavmwrapper as dependency.  It is not strictly necessary but it
  should unbreak tinderbox build for openjdk6 and openjdk6-jre.
  
  Feature safe:	yes

Modified:
  head/java/bootstrap-openjdk/Makefile

Modified: head/java/bootstrap-openjdk/Makefile
==============================================================================
--- head/java/bootstrap-openjdk/Makefile	Thu Oct 25 22:19:47 2012	(r306402)
+++ head/java/bootstrap-openjdk/Makefile	Thu Oct 25 22:21:53 2012	(r306403)
@@ -2,6 +2,7 @@
 
 PORTNAME=	${JDK_NAME}
 PORTVERSION=	${DISTVERSION_${ARCH}}
+PORTREVISION=	1
 CATEGORIES=	java devel
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	jkim
@@ -13,7 +14,9 @@ COMMENT=	Oracle's Java 6 virtual machine
 
 LICENSE=	GPLv2
 
-RUN_DEPENDS=	${LOCALBASE}/share/java/zi:${PORTSDIR}/java/java-zoneinfo
+BUILD_DEPENDS=	${LOCALBASE}/bin/registervm:${PORTSDIR}/java/javavmwrapper
+RUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper \
+		${LOCALBASE}/share/java/zi:${PORTSDIR}/java/java-zoneinfo
 
 ONLY_FOR_ARCH=	amd64 i386
 
@@ -48,6 +51,11 @@ do-install:
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR}
 	@${CHOWN} ${BINOWN}:${BINGRP} ${INSTALLDIR}/bin/*
 	@${CHMOD} ${BINMODE} ${INSTALLDIR}/bin/*
+	@${ECHO_CMD} "@exec ${LOCALBASE}/bin/registervm '${INSTALLDIR}/bin/java # Bootstrap JDK'" >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec ${LOCALBASE}/bin/unregistervm ${INSTALLDIR}/bin/java" >> ${TMPPLIST}
+
+post-install:
+	@${LOCALBASE}/bin/registervm '${INSTALLDIR}/bin/java # Bootstrap JDK'
 	@${CAT} ${PKGMESSAGE}
 
 update:



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