svn commit: r303237 - head/java/icedtea-web
Jung-uk Kim
jkim at FreeBSD.org
Mon Aug 27 17:43:39 UTC 2012
Author: jkim
Date: Mon Aug 27 17:43:38 2012
New Revision: 303237
URL: http://svn.freebsd.org/changeset/ports/303237
Log:
Allow java/openjdk7 to build and execute Java plugin. A necessary patch for
OpenJDK7 was committed as r303173.
Modified:
head/java/icedtea-web/Makefile
Modified: head/java/icedtea-web/Makefile
==============================================================================
--- head/java/icedtea-web/Makefile Mon Aug 27 17:39:52 2012 (r303236)
+++ head/java/icedtea-web/Makefile Mon Aug 27 17:43:38 2012 (r303237)
@@ -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:
More information about the svn-ports-head
mailing list