toolchain-glibc.eclass: remove git logic
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 3 Jun 2018 00:03:35 +0000 (19:03 -0500)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 8 Jun 2018 20:54:25 +0000 (21:54 +0100)
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

index d75ca2eefdf59b1dc0c33bdca90da56d17438cb0..5f0e0cfd5cd5f249097506310b6722c150930dab 100644 (file)
@@ -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