dev-java/oracle-jre-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:09:00 +01:00
parent 9db2513d7e
commit 8fe0c65d57

View File

@@ -238,3 +238,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
}