aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk11
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-09-01 10:47:05 +0800
committerglewis <glewis@FreeBSD.org>2004-09-01 10:47:05 +0800
commite5a120430c436648b40e0f596c59fd85565a3283 (patch)
tree34b79a96cbf9e8958bdabae8c3f0096b45d193ee /java/jdk11
parent967f1b0794a0663fdbe009f858c16bbc53336af9 (diff)
downloadfreebsd-ports-gnome-e5a120430c436648b40e0f596c59fd85565a3283.tar.gz
freebsd-ports-gnome-e5a120430c436648b40e0f596c59fd85565a3283.tar.zst
freebsd-ports-gnome-e5a120430c436648b40e0f596c59fd85565a3283.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).
Diffstat (limited to 'java/jdk11')
-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