Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9674 - main/trunk/bin
Date: Tue, 01 Apr 2008 22:14:02
Message-Id: E1Jgojw-0007sg-BZ@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-04-01 22:13:59 +0000 (Tue, 01 Apr 2008)
3 New Revision: 9674
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
9 them out. The built_with_use() function in eutils.eclass needs to be updated
10 for compatibility.
11
12
13 Modified: main/trunk/bin/ebuild.sh
14 ===================================================================
15 --- main/trunk/bin/ebuild.sh 2008-04-01 21:58:58 UTC (rev 9673)
16 +++ main/trunk/bin/ebuild.sh 2008-04-01 22:13:59 UTC (rev 9674)
17 @@ -1707,20 +1707,6 @@
18 PDEPEND="${PDEPEND} ${E_PDEPEND}"
19
20 unset ECLASS E_IUSE E_DEPEND E_RDEPEND E_PDEPEND
21 -
22 - if [ "${EBUILD_PHASE}" != "depend" ] ; then
23 - # Make IUSE defaults backward compatible with all the old shell code.
24 - iuse_temp=""
25 - for x in ${IUSE} ; do
26 - if [[ ${x} == +* ]] || [[ ${x} == -* ]] ; then
27 - iuse_temp="${iuse_temp} ${x:1}"
28 - else
29 - iuse_temp="${iuse_temp} ${x}"
30 - fi
31 - done
32 - export IUSE=${iuse_temp}
33 - unset x iuse_temp
34 - fi
35 set +f
36 fi
37
38
39 --
40 gentoo-commits@l.g.o mailing list