summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-base/libtododb/libtododb-0.11.ebuild')
-rw-r--r--gpe-base/libtododb/libtododb-0.11.ebuild14
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 "$@"
+}