mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-java/oracle-jre-bin: Warn when disabling javafx, bug #579772
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -238,3 +238,12 @@ src_install() {
|
|||||||
java-vm_revdep-mask
|
java-vm_revdep-mask
|
||||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user