diff options
-rw-r--r-- | dev-java/openjdk/metadata.xml | 1 | ||||
-rw-r--r-- | dev-java/openjdk/openjdk-11.0.1_p13.ebuild | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/dev-java/openjdk/metadata.xml b/dev-java/openjdk/metadata.xml index c76b9ca5d45e..efa076c6f48e 100644 --- a/dev-java/openjdk/metadata.xml +++ b/dev-java/openjdk/metadata.xml @@ -11,6 +11,7 @@ <flag name="gentoo-vm">Allow this JDK to be recognised by Gentoo (package manager, eselect, java-config, EXPERIMENTAL!)</flag> <flag name="jbootstrap">Build OpenJDK twice, the second time using the result of the first</flag> <flag name="source">Install JVM sources</flag> + <flag name="systemtap">Enable SystemTAP/DTrace tracing</flag> <flag name="webstart">Provide javaws command through symlink to icedtea-web</flag> </use> </pkgmetadata> diff --git a/dev-java/openjdk/openjdk-11.0.1_p13.ebuild b/dev-java/openjdk/openjdk-11.0.1_p13.ebuild index 5b9ce2a9bd0e..d606429ebcf0 100644 --- a/dev-java/openjdk/openjdk-11.0.1_p13.ebuild +++ b/dev-java/openjdk/openjdk-11.0.1_p13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -33,12 +33,13 @@ REQUIRED_USE=" jvm_variant_zero? ( !jvm_variant_server !jvm_variant_client !jvm_variant_minimal ) " -IUSE="+${IUSE} alsa debug doc examples gentoo-vm headless-awt +jbootstrap nsplugin +pch selinux source +webstart" +IUSE="+${IUSE} alsa debug doc examples gentoo-vm headless-awt +jbootstrap nsplugin +pch selinux source systemtap +webstart" CDEPEND=" media-libs/freetype:2= net-print/cups sys-libs/zlib + systemtap? ( dev-util/systemtap ) !headless-awt? ( x11-libs/libX11 x11-libs/libXext @@ -170,6 +171,7 @@ src_configure() { --with-version-pre=gentoo \ --with-version-string=${MY_PV%+*} \ --with-version-build=${MY_PV#*+} \ + --enable-dtrace=$(usex systemtap yes no) \ --enable-headless-only=$(usex headless-awt yes no) \ --enable-full-docs=no \ --disable-ccache \ |