diff options
Diffstat (limited to 'dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.77.ebuild')
-rw-r--r-- | dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.77.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.77.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.77.ebuild index 46c46acc8434..760f88641fe9 100644 --- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.77.ebuild +++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.77.ebuild @@ -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 +} |