diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-13 05:40:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-13 05:40:33 +0000 |
commit | abe4f65bbf1790bdc69722811cf03051f9f2759a (patch) | |
tree | 0069d98f5057bd4aeb5977fc2b893367add4a487 /bin/ebuild.sh | |
parent | 32f71ed2a587693627a572b5ada7ffd56b7f94b4 (diff) | |
download | portage-abe4f65bbf1790bdc69722811cf03051f9f2759a.tar.gz portage-abe4f65bbf1790bdc69722811cf03051f9f2759a.tar.bz2 portage-abe4f65bbf1790bdc69722811cf03051f9f2759a.zip |
Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
them out. The built_with_use() function in eutils.eclass needs to be updated
for compatibility. (trunk r9674)
svn path=/main/branches/2.1.2/; revision=9863
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 98fd31401..b58962343 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1707,20 +1707,6 @@ if ! hasq ${EBUILD_PHASE} clean && \ PDEPEND="${PDEPEND} ${E_PDEPEND}" unset ECLASS E_IUSE E_DEPEND E_RDEPEND E_PDEPEND - - if [ "${EBUILD_PHASE}" != "depend" ] ; then - # Make IUSE defaults backward compatible with all the old shell code. - iuse_temp="" - for x in ${IUSE} ; do - if [[ ${x} == +* ]] || [[ ${x} == -* ]] ; then - iuse_temp="${iuse_temp} ${x:1}" - else - iuse_temp="${iuse_temp} ${x}" - fi - done - export IUSE=${iuse_temp} - unset x iuse_temp - fi set +f fi |