dev-java/openjdk: die if FEATURES=ccache

./configure will die anyway, so we die a bit earlier before unpacking.

openjdk wants to handle ccache itself and ignores portage or
system settings.

Bug: https://bugs.gentoo.org/677876
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2019-02-13 12:42:17 -08:00
parent 052b66de6c
commit 6136f3c691
3 changed files with 3 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ openjdk_check_requirements() {
pkg_pretend() {
openjdk_check_requirements
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
}
pkg_setup() {

View File

@@ -73,6 +73,7 @@ openjdk_check_requirements() {
pkg_pretend() {
openjdk_check_requirements
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
}
pkg_setup() {

View File

@@ -88,6 +88,7 @@ openjdk_check_requirements() {
pkg_pretend() {
openjdk_check_requirements
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
}
pkg_setup() {