Gentoo Archives: gentoo-commits

From: Thomas Sachau <tommy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:multilib commit in: bin/
Date: Sun, 26 Feb 2012 16:27:57
Message-Id: 1330263874.ea7212cfb57756e2e95d687cb1f2eda52cff934b.tommy@gentoo
1 commit: ea7212cfb57756e2e95d687cb1f2eda52cff934b
2 Author: Thomas Sachau <tommy <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 13:44:34 2012 +0000
4 Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 13:44:34 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ea7212cf
7
8 phase-helpers.sh: Move multilib behind force-multilib FEATURE
9
10 ---
11 bin/phase-helpers.sh | 5 ++---
12 1 files changed, 2 insertions(+), 3 deletions(-)
13
14 diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
15 index 8ede693..6e06044 100644
16 --- a/bin/phase-helpers.sh
17 +++ b/bin/phase-helpers.sh
18 @@ -196,11 +196,10 @@ use() {
19
20 # Make sure we have this USE flag in IUSE
21 elif [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE ]] ; then
22 - if [[ $u != multilib ]]; then
23 - [[ $u =~ $PORTAGE_IUSE ]] || \
24 + ( [[ " ${FEATURES} " == *" force-multilib "* ]] && [[ $u == multilib ]] ) || \
25 + [[ $u =~ $PORTAGE_IUSE ]] || \
26 eqawarn "QA Notice: USE Flag '${u}' not" \
27 "in IUSE for ${CATEGORY}/${PF}"
28 - fi
29 fi
30
31 if has ${u} ${USE} ; then