aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/jdk15/Makefile4
-rw-r--r--java/jdk16/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index 70168c904c34..ad0b6d1a873f 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -98,6 +98,10 @@ MAKE_ENV+= DONT_ENABLE_IPV6="YES"
ALL_TARGET= all
+PLIST_FILES= jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \
+ jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile
+PLIST_DIRS= jdk${JDK_VERSION}/jre/.systemPrefs
+
.if (${ARCH} == amd64)
HOTSPOTARCH=amd64
.else
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index 70168c904c34..ad0b6d1a873f 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -98,6 +98,10 @@ MAKE_ENV+= DONT_ENABLE_IPV6="YES"
ALL_TARGET= all
+PLIST_FILES= jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \
+ jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile
+PLIST_DIRS= jdk${JDK_VERSION}/jre/.systemPrefs
+
.if (${ARCH} == amd64)
HOTSPOTARCH=amd64
.else