summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2010-05-26 12:23:35 +0000
committerAngelo Arrifano <miknix@gentoo.org>2010-05-26 12:23:35 +0000
commitedc1d1f4e406cd0e45240db013408bfdf9ecdc03 (patch)
tree99f66da28437af7e8121e20757371aead234a23e /gpe-base
parentRespect user flags (diff)
downloadgentoo-2-edc1d1f4e406cd0e45240db013408bfdf9ecdc03.tar.gz
gentoo-2-edc1d1f4e406cd0e45240db013408bfdf9ecdc03.tar.bz2
gentoo-2-edc1d1f4e406cd0e45240db013408bfdf9ecdc03.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? (Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'gpe-base')
-rw-r--r--gpe-base/libtododb/ChangeLog9
-rw-r--r--gpe-base/libtododb/libtododb-0.11.ebuild14
2 files changed, 19 insertions, 4 deletions
diff --git a/gpe-base/libtododb/ChangeLog b/gpe-base/libtododb/ChangeLog
index d516b66fcf03..52a7c09a4774 100644
--- a/gpe-base/libtododb/ChangeLog
+++ b/gpe-base/libtododb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gpe-base/libtododb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/ChangeLog,v 1.3 2009/08/26 16:36:57 miknix Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gpe-base/libtododb/ChangeLog,v 1.4 2010/05/26 12:23:35 miknix Exp $
+
+ 26 May 2010; Angelo Arrifano <miknix@gentoo.org> libtododb-0.11.ebuild:
+ 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 .
26 Aug 2009; Angelo Arrifano <miknix@gentoo.org> libtododb-0.11.ebuild:
Add DEPEND on dev-util/gtk-doc-am due to use of GTK_DOC_CHECK M4 macro.
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 "$@"
+}