commit:     e8a9fae823802beb44c7b0261f9bf18147169bcd
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 18:38:26 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 18:39:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a9fae8

app-office/gnucash: Really pass variables to gnome2_src_install

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-office/gnucash/gnucash-2.6.15-r1.ebuild | 4 +++-
 app-office/gnucash/gnucash-2.6.15.ebuild    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-office/gnucash/gnucash-2.6.15-r1.ebuild 
b/app-office/gnucash/gnucash-2.6.15-r1.ebuild
index 9707d62..fd5767c 100644
--- a/app-office/gnucash/gnucash-2.6.15-r1.ebuild
+++ b/app-office/gnucash/gnucash-2.6.15-r1.ebuild
@@ -101,7 +101,9 @@ src_configure() {
 
 src_install() {
        # Parallel installation fails from time to time, bug #359123
-       gnome2_src_install -j1 GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
+       # Usually reproducible after removing any gnucash installed copy
+       MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
+       gnome2_src_install
 
        rm -rf 
"${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
        mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die

diff --git a/app-office/gnucash/gnucash-2.6.15.ebuild 
b/app-office/gnucash/gnucash-2.6.15.ebuild
index 613dc57..e4b71b0 100644
--- a/app-office/gnucash/gnucash-2.6.15.ebuild
+++ b/app-office/gnucash/gnucash-2.6.15.ebuild
@@ -102,7 +102,9 @@ src_configure() {
 
 src_install() {
        # Parallel installation fails from time to time, bug #359123
-       gnome2_src_install -j1 GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
+       # Usually reproducible after removing any gnucash installed copy
+       MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
+       gnome2_src_install
 
        rm -rf 
"${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
        mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die

Reply via email to