mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Register javavmwrapper as dependency. It is not strictly necessary but it
should unbreak tinderbox build for openjdk6 and openjdk6-jre. Feature safe: yes
This commit is contained in:
parent
e5ab3e755a
commit
39d23ac84d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306403
@ -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 release under the GPL v2
|
||||
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user