mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
. Add support for bootstrapping with the Diablo Caffe JDK. The bootstrap
order is now: . linux-blackdown-jdk13 iff WITH_LINUX_BOOTSTRAP is set. . A previous installation of this port, if it exists. . The Diablo Caffe JDK. That is, the Diablo Caffe JDK is now the default bootstrapper in the absence of a previous installation of this port.
This commit is contained in:
parent
f1d1f72643
commit
4030c045ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88007
@ -110,11 +110,14 @@ PLIST_SUB+= HOTSPOT:="@comment "
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(JDK13DIR)
|
||||
.if defined(WITH_LINUX_BOOTSTRAP) || !exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac)
|
||||
.if defined(WITH_LINUX_BOOTSTRAP)
|
||||
JDK13DIR= ${LOCALBASE}/linux-blackdown-jdk${JDK_VERSION}
|
||||
BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-blackdown-jdk13
|
||||
.else
|
||||
.elif exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac)
|
||||
JDK13DIR= ${LOCALBASE}/jdk${JDK_VERSION}
|
||||
.else
|
||||
JDK13DIR= ${LOCALBASE}/diablo-jdk${JDK_VERSION}
|
||||
BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/diablo-jdk13
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -193,7 +196,7 @@ post-patch:
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LINUX_BOOTSTRAP) || !exists(${PREFIX}/jdk${JDK_VERSION}/bin/javac)
|
||||
.if defined(WITH_LINUX_BOOTSTRAP)
|
||||
# Some checks for bootstrapping with a Linux JDK
|
||||
pre-build:
|
||||
@if [ `${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/check_wrkdir_links.sh "${WRKDIRPREFIX}" "${LINUXBASE}" 2>/dev/null` ]; \
|
||||
|
Loading…
Reference in New Issue
Block a user