summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-28 12:01:46 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-07-28 12:01:46 -0400
commit0474b7a878b549214d74328426a32e2fb5f7d79f (patch)
tree2c26d9e20a59575d49bc3c96919ac2e9bcedab96
parentee5fa7d3162047fd8b9c688f02bb8b1b0d860451 (diff)
downloadgentoo-overlay-0474b7a878b549214d74328426a32e2fb5f7d79f.tar.xz
gentoo-overlay-0474b7a878b549214d74328426a32e2fb5f7d79f.zip
dev-java/openj9-openjdk-*: fix env
-rw-r--r--dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-11.env.sh (renamed from dev-java/openj9-openjdk-bin/files/openjdk-bin-14.env.sh)2
-rw-r--r--dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-14.env.sh16
-rw-r--r--dev-java/openj9-openjdk-jre-bin/files/openj9-openjdk-jre-bin-11.env.sh (renamed from dev-java/openj9-openjdk-jre-bin/files/openjdk-jre-bin-11.env.sh)2
-rw-r--r--dev-java/openj9-openjdk-jre-bin/files/openj9-openjdk-jre-bin-14.env.sh (renamed from dev-java/openj9-openjdk-jre-bin/files/openjdk-jre-bin-8.env.sh)6
-rw-r--r--dev-java/openj9-openjdk/files/openj9-openjdk-11.env.sh (renamed from dev-java/openj9-openjdk/files/openjdk-14.env.sh)2
-rw-r--r--dev-java/openj9-openjdk/files/openj9-openjdk-14.env.sh16
6 files changed, 38 insertions, 6 deletions
diff --git a/dev-java/openj9-openjdk-bin/files/openjdk-bin-14.env.sh b/dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-11.env.sh
index 9e9c5ec..2e200d9 100644
--- a/dev-java/openj9-openjdk-bin/files/openjdk-bin-14.env.sh
+++ b/dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-11.env.sh
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-VERSION="AdoptOpenJDK ${PV}"
+VERSION="AdoptOpenJDK ${DL_PV}"
JAVA_HOME="${EPREFIX}/opt/${P}"
JDK_HOME="${EPREFIX}/opt/${P}"
JAVAC="\${JAVA_HOME}/bin/javac"
diff --git a/dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-14.env.sh b/dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-14.env.sh
new file mode 100644
index 0000000..2e200d9
--- /dev/null
+++ b/dev-java/openj9-openjdk-bin/files/openj9-openjdk-bin-14.env.sh
@@ -0,0 +1,16 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+VERSION="AdoptOpenJDK ${DL_PV}"
+JAVA_HOME="${EPREFIX}/opt/${P}"
+JDK_HOME="${EPREFIX}/opt/${P}"
+JAVAC="\${JAVA_HOME}/bin/javac"
+PATH="\${JAVA_HOME}/bin"
+ROOTPATH="\${JAVA_HOME}/bin"
+LDPATH="\${JAVA_HOME}/lib/:\${JAVA_HOME}/lib/server/"
+MANPATH=""
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="${SLOT}"
+BOOTCLASSPATH=""
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/openj9-openjdk-jre-bin/files/openjdk-jre-bin-11.env.sh b/dev-java/openj9-openjdk-jre-bin/files/openj9-openjdk-jre-bin-11.env.sh
index ec0dca4..1ad9132 100644
--- a/dev-java/openj9-openjdk-jre-bin/files/openjdk-jre-bin-11.env.sh
+++ b/dev-java/openj9-openjdk-jre-bin/files/openj9-openjdk-jre-bin-11.env.sh
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-VERSION="AdoptOpenJDK JRE ${PV}"
+VERSION="AdoptOpenJDK JRE ${DL_PV}"
JAVA_HOME="${EPREFIX}/opt/${P}"
JDK_HOME="${EPREFIX}/opt/${P}"
JAVAC="\${JAVA_HOME}/bin/javac"
diff --git a/dev-java/openj9-openjdk-jre-bin/files/openjdk-jre-bin-8.env.sh b/dev-java/openj9-openjdk-jre-bin/files/openj9-openjdk-jre-bin-14.env.sh
index fabc13c..1ad9132 100644
--- a/dev-java/openj9-openjdk-jre-bin/files/openjdk-jre-bin-8.env.sh
+++ b/dev-java/openj9-openjdk-jre-bin/files/openj9-openjdk-jre-bin-14.env.sh
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-VERSION="AdoptOpenJDK JRE ${PV}"
+VERSION="AdoptOpenJDK JRE ${DL_PV}"
JAVA_HOME="${EPREFIX}/opt/${P}"
JDK_HOME="${EPREFIX}/opt/${P}"
JAVAC="\${JAVA_HOME}/bin/javac"
@@ -10,7 +10,7 @@ ROOTPATH="\${JAVA_HOME}/bin"
LDPATH="\${JAVA_HOME}/lib/:\${JAVA_HOME}/lib/server/"
MANPATH="\${JAVA_HOME}/man"
PROVIDES_TYPE="JRE"
-PROVIDES_VERSION="1.${SLOT}"
-BOOTCLASSPATH="\${JAVA_HOME}/jre/lib/resources.jar:\${JAVA_HOME}/jre/lib/rt.jar:\${JAVA_HOME}/jre/lib/jsse.jar:\${JAVA_HOME}/jre/lib/jce.jar:\${JAVA_HOME}/jre/lib/charsets.jar"
+PROVIDES_VERSION="${SLOT}"
+BOOTCLASSPATH=""
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/openj9-openjdk/files/openjdk-14.env.sh b/dev-java/openj9-openjdk/files/openj9-openjdk-11.env.sh
index 96c4be7..5aac9c7 100644
--- a/dev-java/openj9-openjdk/files/openjdk-14.env.sh
+++ b/dev-java/openj9-openjdk/files/openj9-openjdk-11.env.sh
@@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-VERSION="OpenJDK ${PV}"
+VERSION="OpenJDK ${SLOT} with OpenJ9 ${OPENJ9_PV}"
JAVA_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}"
JDK_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}"
JAVAC="\${JAVA_HOME}/bin/javac"
diff --git a/dev-java/openj9-openjdk/files/openj9-openjdk-14.env.sh b/dev-java/openj9-openjdk/files/openj9-openjdk-14.env.sh
new file mode 100644
index 0000000..5aac9c7
--- /dev/null
+++ b/dev-java/openj9-openjdk/files/openj9-openjdk-14.env.sh
@@ -0,0 +1,16 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+VERSION="OpenJDK ${SLOT} with OpenJ9 ${OPENJ9_PV}"
+JAVA_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}"
+JDK_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}-${SLOT}"
+JAVAC="\${JAVA_HOME}/bin/javac"
+PATH="\${JAVA_HOME}/bin"
+ROOTPATH="\${JAVA_HOME}/bin"
+LDPATH="\${JAVA_HOME}/lib/:\${JAVA_HOME}/lib/server/"
+MANPATH=""
+PROVIDES_TYPE="JDK JRE"
+PROVIDES_VERSION="${SLOT}"
+BOOTCLASSPATH=""
+GENERATION="2"
+ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"