aboutsummaryrefslogtreecommitdiff
path: root/java/icedtea-web
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-08-27 17:43:38 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-08-27 17:43:38 +0000
commit0271a4a8b2eb6aab50e394b7177eabf198c96e38 (patch)
tree0d6d7b08eeb0160c173ad77976ecedf9b9ad3695 /java/icedtea-web
parent3a4ed6b1f10d5e4fcd84d08979c492f581ba849c (diff)
downloadports-0271a4a8b2eb6aab50e394b7177eabf198c96e38.tar.gz
ports-0271a4a8b2eb6aab50e394b7177eabf198c96e38.zip
Notes
Diffstat (limited to 'java/icedtea-web')
-rw-r--r--java/icedtea-web/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index a1df183c7a64..e8fa8c619b10 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -21,7 +21,7 @@ USE_GMAKE= yes
USE_JAVA= yes
JAVA_OS= native
JAVA_VENDOR= openjdk
-JAVA_VERSION= 1.6
+JAVA_VERSION= 1.6+
USE_XORG= x11
OPTIONS_DEFINE= PLUGIN RHINO TEST
@@ -90,12 +90,14 @@ post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/launcher/javaws.in
+.if ${JAVA_PORT_VERSION} == "1.6.0"
pre-extract:
@${ECHO_MSG}
@${ECHO_MSG} "IMPORTANT: To build IcedTea-Web ${PORTVERSION}, you have to turn on 'ICEDTEA' option"
- @${ECHO_MSG} "for java/openjdk6 (default). Otherwise, it will neither build nor work."
+ @${ECHO_MSG} "for ${JAVA_PORT} (default). Otherwise, it will neither build nor work."
@${ECHO_MSG}
@sleep 10
+.endif
.if ${PORT_OPTIONS:MTEST}
post-build: