Bug #215673 - Make ebuild.sh leave IUSE defaults intact instead of filtering
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Apr 2008 05:40:33 +0000 (05:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Apr 2008 05:40:33 +0000 (05:40 -0000)
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

bin/ebuild.sh

index 98fd314017415b1cd04f664d6d9698ae1fe905b7..b58962343140245d3a328389048de530b7c27cb7 100755 (executable)
@@ -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