aboutsummaryrefslogtreecommitdiff
path: root/java/jdk15/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2008-08-25 03:25:31 +0000
committerGreg Lewis <glewis@FreeBSD.org>2008-08-25 03:25:31 +0000
commitae29a3bbe3fdc7592b8ec62e06987fa49f646ebe (patch)
tree3af6dc17f650b5fefc291142a25b3800636dc64c /java/jdk15/Makefile
parentf291d081d573f410f56db7fa6abed9041a8d57e3 (diff)
downloadports-ae29a3bbe3fdc7592b8ec62e06987fa49f646ebe.tar.gz
ports-ae29a3bbe3fdc7592b8ec62e06987fa49f646ebe.zip
Notes
Diffstat (limited to 'java/jdk15/Makefile')
-rw-r--r--java/jdk15/Makefile28
1 files changed, 12 insertions, 16 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index edaf2735708f..e3fa144af660 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -62,18 +62,16 @@ TZUPDATE_TZVERSION= 2008c
.include <bsd.port.pre.mk>
.if !defined(WITH_LINUX_BOOTSTRAP)
-NATIVE_BOOTSTRAP_JDKS= \
- ${LOCALBASE}/diablo-jdk1.6.0:${PORTSDIR}/java/diablo-jdk16 \
- ${LOCALBASE}/diablo-jdk1.5.0:${PORTSDIR}/java/diablo-jdk15 \
- ${LOCALBASE}/jdk1.5.0:${PORTSDIR}/java/jdk15 \
- ${LOCALBASE}/jdk1.6.0:${PORTSDIR}/java/jdk16 \
- ${LOCALBASE}/jdk1.4.2:${PORTSDIR}/java/jdk14
+NATIVE_BOOTSTRAP_JDKS= ${LOCALBASE}/diablo-jdk1.6.0 \
+ ${LOCALBASE}/diablo-jdk1.5.0 \
+ ${LOCALBASE}/jdk1.5.0 \
+ ${LOCALBASE}/jdk1.6.0 \
+ ${LOCALBASE}/jdk1.4.2
.endif
-LINUX_BOOTSTRAP_JDKS= \
- ${LOCALBASE}/linux-sun-jdk1.5.0:${PORTSDIR}/java/linux-sun-jdk15 \
- ${LOCALBASE}/linux-sun-jdk1.6.0:${PORTSDIR}/java/linux-sun-jdk16 \
- ${LOCALBASE}/linux-sun-jdk1.4.2:${PORTSDIR}/java/linux-sun-jdk14
+LINUX_BOOTSTRAP_JDKS= ${LOCALBASE}/linux-sun-jdk1.5.0 \
+ ${LOCALBASE}/linux-sun-jdk1.6.0 \
+ ${LOCALBASE}/linux-sun-jdk1.4.2
.if defined(WITH_IPV6)
CATEGORIES+= ipv6
@@ -92,9 +90,8 @@ EXTRACT_ONLY+= ${TZUPDATEFILE}
# do we have valid native jdk installed?
.if !defined(WITH_LINUX_BOOTSTRAP)
.for CJDK in ${NATIVE_BOOTSTRAP_JDKS}
-. if !defined(BOOTSTRAPJDKDIR) && exists(${CJDK:C/:.*$//}/bin/javac)
-BOOTSTRAPJDKDIR= ${CJDK:C/:.*$//}
-BUILD_DEPENDS+= ${CJDK:C/:.*$//}/bin/javac:${CJDK:C/^[^:]*://}
+. if !defined(BOOTSTRAPJDKDIR) && exists(${CJDK}/bin/javac)
+BOOTSTRAPJDKDIR= ${CJDK}
. endif
.endfor
.endif
@@ -102,9 +99,8 @@ BUILD_DEPENDS+= ${CJDK:C/:.*$//}/bin/javac:${CJDK:C/^[^:]*://}
# do we have valid linux jdk installed?
.if !defined(BOOTSTRAPJDKDIR)
.for CJDK in ${LINUX_BOOTSTRAP_JDKS}
-. if !defined(BOOTSTRAPJDKDIR) && exists(${CJDK:C/:.*$//}/bin/javac)
-BOOTSTRAPJDKDIR= ${CJDK:C/:.*$//}
-BUILD_DEPENDS+= ${CJDK:C/:.*$//}/bin/javac:${CJDK:C/^[^:]*://}
+. if !defined(BOOTSTRAPJDKDIR) && exists(${CJDK}/bin/javac)
+BOOTSTRAPJDKDIR= ${CJDK}
WITH_LINUX_BOOTSTRAP= YES
. endif
.endfor