From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F2017138010 for ; Thu, 30 Aug 2012 05:26:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 655A6E06CC; Thu, 30 Aug 2012 05:26:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EBD4E06CC for ; Thu, 30 Aug 2012 05:26:12 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 647B433D841 for ; Thu, 30 Aug 2012 05:26:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1C128E543C for ; Thu, 30 Aug 2012 05:26:10 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1346304333.c6fa9f21c738f8450efd5e11f7bd526f81e11340.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/phase-helpers.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c6fa9f21c738f8450efd5e11f7bd526f81e11340 X-VCS-Branch: master Date: Thu, 30 Aug 2012 05:26:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8d8dda6e-3c46-4610-9857-7f8e0cbf1755 X-Archives-Hash: 36fd884b34892429e182814a5cc79511 commit: c6fa9f21c738f8450efd5e11f7bd526f81e11340 Author: Zac Medico gentoo org> AuthorDate: Thu Aug 30 05:25:33 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Aug 30 05:25:33 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c6fa9f21 EAPI 5: econf --disable-silent-rules See bug #379497 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=b7750e67b4772c1064543defb7df6a556f09807b --- bin/phase-helpers.sh | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 3230870..4efcf0d 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -421,11 +421,27 @@ econf() { fi # EAPI=4 adds --disable-dependency-tracking to econf - if ! has "$EAPI" 0 1 2 3 && \ - "${ECONF_SOURCE}/configure" --help 2>/dev/null | \ - grep -q disable-dependency-tracking ; then - set -- --disable-dependency-tracking "$@" - fi + case "${EAPI}" in + 0|1|2|3) + ;; + *) + local conf_help=$("${ECONF_SOURCE}/configure" --help 2>/dev/null) + case "${conf_help}" in + *--disable-dependency-tracking*) + set -- --disable-dependency-tracking "$@" + ;; + esac + case "${EAPI}" in + 4|4-python|4-slot-abi) + ;; + *) + case "${conf_help}" in + *--disable-silent-rules*) + set -- --disable-silent-rules "$@" + ;; + esac + esac + esac # if the profile defines a location to install libs to aside from default, pass it on. # if the ebuild passes in --libdir, they're responsible for the conf_libdir fun.