dev-java/oracle-jdk-bin: Warn when disabling javafx, bug #579772

Package-Manager: portage-2.2.28
This commit is contained in:
James Le Cuirot
2016-04-17 23:08:41 +01:00
parent 3fa7a7bdf4
commit 9db2513d7e

View File

@@ -355,3 +355,12 @@ src_install() {
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}
pkg_postinst() {
java-vm-2_pkg_postinst
if ! use headless-awt && ! use javafx; then
ewarn "You have disabled the javafx flag. Some modern desktop Java applications"
ewarn "require this and they may fail with a confusing error message."
fi
}