From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-828091-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id CA5421386F3
	for <garchives@archives.gentoo.org>; Wed, 12 Aug 2015 10:38:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6A28314229;
	Wed, 12 Aug 2015 10:38:25 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8C48B14229
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Aug 2015 10:38:24 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id CD01F340A1B
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Aug 2015 10:38:23 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 47CED151
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Aug 2015 10:38:20 +0000 (UTC)
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org>
Message-ID: <1439375891.0671fd8b94d3ee9eb164bae47d2ad0871d5632ae.vapier@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ncurses/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-libs/ncurses/ncurses-6.0.ebuild
X-VCS-Directories: sys-libs/ncurses/
X-VCS-Committer: vapier
X-VCS-Committer-Name: Mike Frysinger
X-VCS-Revision: 0671fd8b94d3ee9eb164bae47d2ad0871d5632ae
X-VCS-Branch: master
Date: Wed, 12 Aug 2015 10:38:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: bba475fc-4a02-4e55-8ed3-6a62483efedd
X-Archives-Hash: c199f8f6c9d5419b910ddb256af699fa

commit:     0671fd8b94d3ee9eb164bae47d2ad0871d5632ae
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 10:29:26 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 10:38:11 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0671fd8b

sys-libs/ncurses: run configure steps in parallel

This gives us a nice speed boost as the configure script is quite large.
Follow up changes will make this more apparent (when we run configure up
to 4 times instead of just 2).

 sys-libs/ncurses/ncurses-6.0.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-libs/ncurses/ncurses-6.0.ebuild b/sys-libs/ncurses/ncurses-6.0.ebuild
index 08d4b73..0a44ca6 100644
--- a/sys-libs/ncurses/ncurses-6.0.ebuild
+++ b/sys-libs/ncurses/ncurses-6.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils flag-o-matic toolchain-funcs multilib-minimal
+inherit eutils flag-o-matic toolchain-funcs multilib-minimal multiprocessing
 
 MY_PV=${PV:0:3}
 PV_SNAP=${PV:4}
@@ -62,8 +62,10 @@ src_configure() {
 }
 
 multilib_src_configure() {
-	do_configure narrowc
-	use unicode && do_configure widec --enable-widec --includedir="${EPREFIX}"/usr/include/ncursesw
+	multijob_init
+	multijob_child_init do_configure narrowc
+	use unicode && multijob_child_init do_configure widec --enable-widec --includedir="${EPREFIX}"/usr/include/ncursesw
+	multijob_finish
 }
 
 do_configure() {