aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-20 07:40:20 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-20 07:40:20 +0000
commitceec80fd327a951a2324809c1428a0cfbd7eda40 (patch)
tree88306327c0aeba54c5845fbd8f46ce14ec917b34 /java
parentb8713e74a8ff44ec6afb58dbc2b45b7f8f398ba1 (diff)
downloadports-ceec80fd327a951a2324809c1428a0cfbd7eda40.tar.gz
ports-ceec80fd327a951a2324809c1428a0cfbd7eda40.zip
Add "unset JAVA_HOME" to make javavmwrapper working with some brain damaged
software (Adobe AcrobatViewer).
Notes
Notes: svn path=/head/; revision=29708
Diffstat (limited to 'java')
-rw-r--r--java/javavmwrapper/Makefile2
-rw-r--r--java/javavmwrapper/src/javavmwrapper.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile
index 025458e4ddc5..7d95d32f479b 100644
--- a/java/javavmwrapper/Makefile
+++ b/java/javavmwrapper/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= javavmwrapper
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= java
MASTER_SITES= # none
DISTFILES= # none
diff --git a/java/javavmwrapper/src/javavmwrapper.sh b/java/javavmwrapper/src/javavmwrapper.sh
index 836ef04e87a0..16e9a235b9f5 100644
--- a/java/javavmwrapper/src/javavmwrapper.sh
+++ b/java/javavmwrapper/src/javavmwrapper.sh
@@ -98,6 +98,8 @@ esac
# Main ()
+unset JAVA_HOME
+
# First check if JAVAVM environment variable is set
if [ x"${JAVAVM}" != x"" ]; then
tryrunVM "${JAVAVM}" "${ARGS}"