aboutsummaryrefslogtreecommitdiffstats
path: root/java/javavmwrapper
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-20 15:40:20 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-20 15:40:20 +0800
commit4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3 (patch)
tree9edfbd6f04595beb5e7d887d35629fef595f40d9 /java/javavmwrapper
parentfdb9a8cbab5f4d29318884177083b6ecf5aeba7b (diff)
downloadfreebsd-ports-gnome-4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3.tar.gz
freebsd-ports-gnome-4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3.tar.zst
freebsd-ports-gnome-4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3.zip
Add "unset JAVA_HOME" to make javavmwrapper working with some brain damaged
software (Adobe AcrobatViewer).
Diffstat (limited to 'java/javavmwrapper')
-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}"