commit:     5439962f358fe0dc834fbe1f8619cfdb5e1b4719
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Sun Jun  3 00:03:35 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jun  8 20:54:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5439962f

toolchain-glibc.eclass: remove git logic

The git logic is handled in the live ebuild directly, and the only use
of this eclass is in non-live ebuilds. In fact, the two newest non-live
ebuilds do not make use of this eclass at all, and as far as I can see
nowhere in the history of this file does it inherit git-2 at all.

 eclass/toolchain-glibc.eclass | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index d75ca2eefdf..5f0e0cfd5cd 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -667,16 +667,7 @@ toolchain-glibc_do_src_unpack() {
        # Check NPTL support _before_ we unpack things to save some time
        want_nptl && check_nptl_support
 
-       if [[ -n ${EGIT_REPO_URIS} ]] ; then
-               local i d
-               for ((i=0; i<${#EGIT_REPO_URIS[@]}; ++i)) ; do
-                       EGIT_REPO_URI=${EGIT_REPO_URIS[$i]}
-                       EGIT_SOURCEDIR=${EGIT_SOURCEDIRS[$i]}
-                       git-2_src_unpack
-               done
-       else
-               unpack_pkg
-       fi
+       unpack_pkg
 
        cd "${S}"
        touch locale/C-translit.h #185476 #218003

Reply via email to