diff options
4 files changed, 20 insertions, 8 deletions
diff --git a/app-office/libreoffice/libreoffice-6.2.9999.ebuild b/app-office/libreoffice/libreoffice-6.2.9999.ebuild index 95d3b41a720f..8a89bd5092ba 100644 --- a/app-office/libreoffice/libreoffice-6.2.9999.ebuild +++ b/app-office/libreoffice/libreoffice-6.2.9999.ebuild @@ -267,8 +267,11 @@ _check_reqs() { } pkg_pretend() { - use java || \ - ewarn "If you plan to use Base application you should enable java or you will get various crashes." + if ! use java && ! use firebird; then + ewarn "If you plan to use Base application you must enable either firebird or java." + fi + + use java || ewarn "Without java, several wizards are not going to be available." if has_version "<app-office/libreoffice-5.3.0[firebird]"; then ewarn "Firebird has been upgraded to version 3. It is unable to read back Firebird 2.5 data, so" diff --git a/app-office/libreoffice/libreoffice-6.3.0.4.ebuild b/app-office/libreoffice/libreoffice-6.3.0.4.ebuild index 29524e6854cd..0797f73f72d4 100644 --- a/app-office/libreoffice/libreoffice-6.3.0.4.ebuild +++ b/app-office/libreoffice/libreoffice-6.3.0.4.ebuild @@ -265,8 +265,11 @@ _check_reqs() { } pkg_pretend() { - use java || \ - ewarn "If you plan to use Base application you should enable java or you will get various crashes." + if ! use java && ! use firebird; then + ewarn "If you plan to use Base application you must enable either firebird or java." + fi + + use java || ewarn "Without java, several wizards are not going to be available." if has_version "<app-office/libreoffice-5.3.0[firebird]"; then ewarn "Firebird has been upgraded to version 3. It is unable to read back Firebird 2.5 data, so" diff --git a/app-office/libreoffice/libreoffice-6.3.9999.ebuild b/app-office/libreoffice/libreoffice-6.3.9999.ebuild index 29524e6854cd..0797f73f72d4 100644 --- a/app-office/libreoffice/libreoffice-6.3.9999.ebuild +++ b/app-office/libreoffice/libreoffice-6.3.9999.ebuild @@ -265,8 +265,11 @@ _check_reqs() { } pkg_pretend() { - use java || \ - ewarn "If you plan to use Base application you should enable java or you will get various crashes." + if ! use java && ! use firebird; then + ewarn "If you plan to use Base application you must enable either firebird or java." + fi + + use java || ewarn "Without java, several wizards are not going to be available." if has_version "<app-office/libreoffice-5.3.0[firebird]"; then ewarn "Firebird has been upgraded to version 3. It is unable to read back Firebird 2.5 data, so" diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index 52c32f853b58..f0ca704cc851 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -265,8 +265,11 @@ _check_reqs() { } pkg_pretend() { - use java || \ - ewarn "If you plan to use Base application you should enable java or you will get various crashes." + if ! use java && ! use firebird; then + ewarn "If you plan to use Base application you must enable either firebird or java." + fi + + use java || ewarn "Without java, several wizards are not going to be available." if has_version "<app-office/libreoffice-5.3.0[firebird]"; then ewarn "Firebird has been upgraded to version 3. It is unable to read back Firebird 2.5 data, so" |
