aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-09-01 02:47:05 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-09-01 02:47:05 +0000
commitf68c92c00e21f18ec397949b349198962e818a42 (patch)
treece9a0f5cf9c17d59c9d5c13771d83e23b9a3ef5c /java
parent764d167d8d6ed1ed7c92a9ee3399505633ba117f (diff)
downloadports-f68c92c00e21f18ec397949b349198962e818a42.tar.gz
ports-f68c92c00e21f18ec397949b349198962e818a42.zip
. Teach the packing list that we don't care if we can't remove
%D/share/doc/java. . 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).
Notes
Notes: svn path=/head/; revision=117781
Diffstat (limited to 'java')
-rw-r--r--java/jdk11/pkg-plist6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/jdk11/pkg-plist b/java/jdk11/pkg-plist
index 8d680715b00a..ca22216c270e 100644
--- a/java/jdk11/pkg-plist
+++ b/java/jdk11/pkg-plist
@@ -517,9 +517,9 @@ jdk%%JDK_VERSION%%/README.FreeBSD
jdk%%JDK_VERSION%%/CHANGES
jdk%%JDK_VERSION%%/index.html
@exec mkdir -p %D/share/doc/java
-@unexec rmdir %D/share/doc/java
-@exec %D/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%"
-@unexec %D/bin/unregistervm JDK%%JDK_VERSION%%
+@unexec rmdir %D/share/doc/java 2>/dev/null || true
+@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/security
@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8/app-defaults
@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8