commit:     54a413761897ba5ca5be71fc8ea0b20e0d0dd4da
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  8 16:34:55 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 16:51:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a41376

app-office/libreoffice: Update USE !java and add USE !firebird notice

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/libreoffice/libreoffice-6.2.9999.ebuild | 7 +++++--
 app-office/libreoffice/libreoffice-6.3.0.4.ebuild  | 7 +++++--
 app-office/libreoffice/libreoffice-6.3.9999.ebuild | 7 +++++--
 app-office/libreoffice/libreoffice-9999.ebuild     | 7 +++++--
 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 95d3b41a720..8a89bd5092b 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 29524e6854c..0797f73f72d 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 29524e6854c..0797f73f72d 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 52c32f853b5..f0ca704cc85 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"

Reply via email to