commit:     34e546f17994826f0c52c5b82ada29a7ed5426df
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 20:46:14 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 20:46:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e546f1

app-office/libreoffice: Check for more disk space if building with debug info, 
bug 563286

Package-Manager: portage-2.2.28

 app-office/libreoffice/libreoffice-5.1.1.3.ebuild  | 7 ++++++-
 app-office/libreoffice/libreoffice-5.1.9999.ebuild | 7 ++++++-
 app-office/libreoffice/libreoffice-9999.ebuild     | 7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/app-office/libreoffice/libreoffice-5.1.1.3.ebuild 
b/app-office/libreoffice/libreoffice-5.1.1.3.ebuild
index 56ec419..5abaa47 100644
--- a/app-office/libreoffice/libreoffice-5.1.1.3.ebuild
+++ b/app-office/libreoffice/libreoffice-5.1.1.3.ebuild
@@ -266,7 +266,12 @@ PATCHES=(
 )
 
 CHECKREQS_MEMORY="512M"
-if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
+
+if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then
+       CHECKREQS_DISK_BUILD="22G"
+elif [[ ${MERGE_TYPE} != binary ]] ; then
+       CHECKREQS_DISK_BUILD="6G"
+fi
 
 pkg_pretend() {
        local pgslot

diff --git a/app-office/libreoffice/libreoffice-5.1.9999.ebuild 
b/app-office/libreoffice/libreoffice-5.1.9999.ebuild
index 11c9a86..940c4be 100644
--- a/app-office/libreoffice/libreoffice-5.1.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-5.1.9999.ebuild
@@ -263,7 +263,12 @@ PATCHES=(
 )
 
 CHECKREQS_MEMORY="512M"
-if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
+
+if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then
+       CHECKREQS_DISK_BUILD="22G"
+elif [[ ${MERGE_TYPE} != binary ]] ; then
+       CHECKREQS_DISK_BUILD="6G"
+fi
 
 pkg_pretend() {
        local pgslot

diff --git a/app-office/libreoffice/libreoffice-9999.ebuild 
b/app-office/libreoffice/libreoffice-9999.ebuild
index 4686600..f61e42c 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -258,7 +258,12 @@ PATCHES=(
 )
 
 CHECKREQS_MEMORY="512M"
-if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
+
+if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then
+       CHECKREQS_DISK_BUILD="22G"
+elif [[ ${MERGE_TYPE} != binary ]] ; then
+       CHECKREQS_DISK_BUILD="6G"
+fi
 
 pkg_pretend() {
        local pgslot

Reply via email to