diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-04-17 23:09:00 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-04-17 23:09:26 +0100 |
commit | 8fe0c65d57504f49415a4625018f3bc4cad232f3 (patch) | |
tree | f09747d288937344c96c61ba032d646e8f6646b0 /dev-java/oracle-jre-bin | |
parent | dev-java/oracle-jdk-bin: Warn when disabling javafx, bug #579772 (diff) | |
download | gentoo-8fe0c65d57504f49415a4625018f3bc4cad232f3.tar.gz gentoo-8fe0c65d57504f49415a4625018f3bc4cad232f3.tar.bz2 gentoo-8fe0c65d57504f49415a4625018f3bc4cad232f3.zip |
dev-java/oracle-jre-bin: Warn when disabling javafx, bug #579772
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java/oracle-jre-bin')
-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 +} |