Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Thu, 30 Aug 2012 05:26:22
Message-Id: 1346304333.c6fa9f21c738f8450efd5e11f7bd526f81e11340.zmedico@gentoo
1 commit: c6fa9f21c738f8450efd5e11f7bd526f81e11340
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 05:25:33 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 05:25:33 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c6fa9f21
7
8 EAPI 5: econf --disable-silent-rules
9
10 See bug #379497 and the PMS patch:
11 http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=b7750e67b4772c1064543defb7df6a556f09807b
12
13 ---
14 bin/phase-helpers.sh | 26 +++++++++++++++++++++-----
15 1 files changed, 21 insertions(+), 5 deletions(-)
16
17 diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
18 index 3230870..4efcf0d 100644
19 --- a/bin/phase-helpers.sh
20 +++ b/bin/phase-helpers.sh
21 @@ -421,11 +421,27 @@ econf() {
22 fi
23
24 # EAPI=4 adds --disable-dependency-tracking to econf
25 - if ! has "$EAPI" 0 1 2 3 && \
26 - "${ECONF_SOURCE}/configure" --help 2>/dev/null | \
27 - grep -q disable-dependency-tracking ; then
28 - set -- --disable-dependency-tracking "$@"
29 - fi
30 + case "${EAPI}" in
31 + 0|1|2|3)
32 + ;;
33 + *)
34 + local conf_help=$("${ECONF_SOURCE}/configure" --help 2>/dev/null)
35 + case "${conf_help}" in
36 + *--disable-dependency-tracking*)
37 + set -- --disable-dependency-tracking "$@"
38 + ;;
39 + esac
40 + case "${EAPI}" in
41 + 4|4-python|4-slot-abi)
42 + ;;
43 + *)
44 + case "${conf_help}" in
45 + *--disable-silent-rules*)
46 + set -- --disable-silent-rules "$@"
47 + ;;
48 + esac
49 + esac
50 + esac
51
52 # if the profile defines a location to install libs to aside from default, pass it on.
53 # if the ebuild passes in --libdir, they're responsible for the conf_libdir fun.