summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-11-04 15:10:39 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-11-08 23:11:09 +0000
commit369063cc1474a9a6bc49b2012e8fe08469a477cc (patch)
tree437991274b00217d96eb08f5bb0e5cc23fca7e30 /dev-java/openjdk/files
parentprofiles: Unmask dev-java/openjdk(-bin) on little-endian ppc64 (diff)
downloadgentoo-369063cc1474a9a6bc49b2012e8fe08469a477cc.tar.gz
gentoo-369063cc1474a9a6bc49b2012e8fe08469a477cc.tar.bz2
gentoo-369063cc1474a9a6bc49b2012e8fe08469a477cc.zip
dev-java/openjdk: New package to provide Java 11 from source
I'm not sure if this will build on hardened. There used to be an upstream mechanism to handle PaX markings but this disappeared in an earlier version. It might build with USE=-jbootstrap though. Please let us know. Thanks to Alex Dubov for the initial ebuild attempt. Closes: https://github.com/gentoo/gentoo/pull/9835 Signed-off-by: James Le Cuirot <chewi@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-java/openjdk/files')
-rw-r--r--dev-java/openjdk/files/openjdk-11.env.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-java/openjdk/files/openjdk-11.env.sh b/dev-java/openjdk/files/openjdk-11.env.sh
new file mode 100644
index 000000000000..96c4be79c33f
--- /dev/null
+++ b/dev-java/openjdk/files/openjdk-11.env.sh
@@ -0,0 +1,16 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+VERSION="OpenJDK ${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"