1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

. Assume (un)registervm is in LOCALBASE _not_ PREFIX.

. Call unregistervm with the VM we registered, not the comment associated
  with (as comments should be optional).
This commit is contained in:
Greg Lewis 2004-09-01 05:52:27 +00:00
parent 8f6a19adb4
commit 7050420087
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117789

View File

@ -763,8 +763,8 @@ jdk%%JDK_VERSION%%/lib/tools.jar
jdk%%JDK_VERSION%%/src.jar
@exec mkdir -p %D/share/doc/java
@unexec rmdir %D/share/doc/java 2>/dev/null || true
@exec %D/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%"
@unexec %D/bin/unregistervm JDK%%JDK_VERSION%%
@exec %%LOCALBASE%%/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%"
@unexec %%LOCALBASE%%/bin/unregistervm "%D/jdk%%JDK_VERSION%%/bin/java"
@dirrm jdk%%JDK_VERSION%%/lib
@dirrm jdk%%JDK_VERSION%%/jre/lib/security
@dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ja_JP.UTF-8/app-defaults