1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Fix build with Rhino support.

This commit is contained in:
Jung-uk Kim 2011-07-11 22:35:12 +00:00
parent ef2e46bff5
commit 5a0f2d37a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277570

View File

@ -20,7 +20,7 @@ JAVA_VENDOR= openjdk
USE_XORG= x11
OPTIONS= PLUGIN "Enable the browser plug-in" on \
RHINO "Enable support for Proxy Auto Config files" off \
RHINO "Add support for Proxy Auto Config files" off \
TEST "Add support for running regression test" off
MAN1= javaws.1
@ -64,6 +64,7 @@ CONFIGURE_ARGS+=--disable-plugin
.if defined(WITH_RHINO)
CONFIGURE_ARGS+=--with-rhino=${JAVASHAREDIR}/rhino/rhino.jar
BUILD_DEPENDS+= ${JAVASHAREDIR}/rhino/rhino.jar:${PORTSDIR}/lang/rhino
RUN_DEPENDS+= ${JAVASHAREDIR}/rhino/rhino.jar:${PORTSDIR}/lang/rhino
.else
CONFIGURE_ARGS+=--with-rhino=no