diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-08-29 21:12:18 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-08-29 21:12:18 +0000 |
commit | 4030c045ad6a816bf3d8e42172d94575924099f4 (patch) | |
tree | 5642dbe5d36f9163f12fc3dad100978bc46b4e27 /java/jdk13/Makefile | |
parent | f1d1f72643d9923c0df2252908614a13bca593e0 (diff) | |
download | ports-4030c045ad6a816bf3d8e42172d94575924099f4.tar.gz ports-4030c045ad6a816bf3d8e42172d94575924099f4.zip |
Notes
Diffstat (limited to 'java/jdk13/Makefile')
-rw-r--r-- | java/jdk13/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile index f55b1255723f..c6d781556c97 100644 --- a/java/jdk13/Makefile +++ b/java/jdk13/Makefile @@ -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` ]; \ |