mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-java/openjdk: don't die on ccache if binpkg is being used
Bug: https://bugs.gentoo.org/677876 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -96,7 +96,9 @@ openjdk_check_requirements() {
|
||||
|
||||
pkg_pretend() {
|
||||
openjdk_check_requirements
|
||||
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -95,7 +95,9 @@ openjdk_check_requirements() {
|
||||
|
||||
pkg_pretend() {
|
||||
openjdk_check_requirements
|
||||
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
has ccache ${FEATURES} && die "FEATURES=ccache doesn't work with ${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user