diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2010-05-26 12:23:35 +0000 |
---|---|---|
committer | Angelo Arrifano <miknix@gentoo.org> | 2010-05-26 12:23:35 +0000 |
commit | 2f25733c42342c007ee9762c286d65b992e2e50b (patch) | |
tree | 8635b974d652ffeb3364787f27e4be45d4163e2f /gpe-base/libtododb/libtododb-0.11.ebuild | |
parent | Respect user flags (diff) | |
download | historical-2f25733c42342c007ee9762c286d65b992e2e50b.tar.gz historical-2f25733c42342c007ee9762c286d65b992e2e50b.tar.bz2 historical-2f25733c42342c007ee9762c286d65b992e2e50b.zip |
Limit the number of make jobs to 1 when building doc. There is no
reason to limit it unconditionally because parallel make only fails
on doc/Makefile - see bug \#320029 .
- Geezzz. Copy pasting this from ChangeLog is stupid, when are
we moving to git?
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'gpe-base/libtododb/libtododb-0.11.ebuild')
-rw-r--r-- | gpe-base/libtododb/libtododb-0.11.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gpe-base/libtododb/libtododb-0.11.ebuild b/gpe-base/libtododb/libtododb-0.11.ebuild index 65ea6aef2ab2..b983707f3774 100644 --- a/gpe-base/libtododb/libtododb-0.11.ebuild +++ b/gpe-base/libtododb/libtododb-0.11.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/libtododb-0.11.ebuild,v 1.3 2009/08/26 16:36:57 miknix Exp $ +# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/libtododb-0.11.ebuild,v 1.4 2010/05/26 12:23:35 miknix Exp $ GPE_TARBALL_SUFFIX="bz2" inherit gpe autotools @@ -27,6 +27,8 @@ DEPEND="${DEPEND} src_unpack() { gpe_src_unpack "$@" + # Build ignores --disable-gtk-doc + # See http://lists.linuxtogo.org/pipermail/gpe-list/2009-July/001018.html if ! use doc; then sed -i -e 's;SUBDIRS = doc;SUBDIRS = ;' Makefile.am \ || die "sed failed" @@ -34,3 +36,11 @@ src_unpack() { eautoreconf } + +src_compile() { + # Parallel make only fails when building doc, see #320029 . + if use doc; then + export MAKEOPTS="$(echo "$MAKEOPTS" | sed -e "s/-j[0-9]*/-j1/g")" + fi + gpe_src_compile "$@" +} |