diff options
Diffstat (limited to 'java/jdk15/Makefile')
| -rw-r--r-- | java/jdk15/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile index 9e8d5134c13f..276c468792aa 100644 --- a/java/jdk15/Makefile +++ b/java/jdk15/Makefile @@ -26,7 +26,7 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper OPTIONS= DEBUG "Enable debugging support" off \ IPV6 "Enable IPv6 support" off .if ${MACHINE_ARCH} == "amd64" -WITHOUT_WEB= yes +OPTIONS+= WEB "Enable the browser plugin and Java Web Start" off .else OPTIONS+= WEB "Enable the browser plugin and Java Web Start" on .endif @@ -259,6 +259,11 @@ pre-patch: ${BZIP2_CMD} -dc ${DISTDIR}/${PATCHSETFILE} | ${TAR} -xf - && \ ${CHMOD} -R u+w * && \ ${PATCH} -p0 < ${WRKDIR}/jdk15.patches +.if (${ARCH} == amd64) && !defined(WITHOUT_WEB) + @cd ${WRKDIR} && \ + uudecode -o /dev/stdout < ${FILESDIR}/plugin_amd64.bz2.uu | \ + ${BZIP2_CMD} -dc | ${PATCH} -p0 +.endif post-patch: @for file in ${LOCAL_FILES}; do \ |
