summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2008-09-26 12:26:29 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2008-09-26 12:26:29 +0000
commitfa0ecccedc07f902176e0651818efb706315bba6 (patch)
tree3f87fdedf7699b93756a3ddad8fd1830214aa250 /net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild
parentMarked ~hppa (bug #237411). (diff)
downloadgentoo-2-fa0ecccedc07f902176e0651818efb706315bba6.tar.gz
gentoo-2-fa0ecccedc07f902176e0651818efb706315bba6.tar.bz2
gentoo-2-fa0ecccedc07f902176e0651818efb706315bba6.zip
Fix build when MAKEOPTS contains options different than -j, fixes #233943.
(Portage version: 2.2_rc9/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild')
-rw-r--r--net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild b/net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild
index 02311ced60ee..c35fe68ccb1f 100644
--- a/net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild
+++ b/net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild,v 1.1 2008/08/20 22:34:07 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-butterfly/telepathy-butterfly-0.3.2.ebuild,v 1.2 2008/09/26 12:26:29 coldwind Exp $
NEED_PYTHON="2.4"
@@ -21,9 +21,10 @@ RDEPEND="dev-python/telepathy-python
DOCS="AUTHORS NEWS"
src_compile() {
+ local myjobs=$(echo "$MAKEOPTS" | sed -n -e 's,.*\(-j[[:digit:]]\+\).*,\1,p')
./waf --prefix=/usr \
configure || die "./waf configure failed"
- ./waf ${MAKEOPTS} build || die "./waf configure failed"
+ ./waf ${myjobs} build || die "./waf configure failed"
}
src_install() {