git-2.eclass is deprecated and the git logic is handled in the live
ebuild itself.
---
 eclass/toolchain-binutils.eclass | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 0e532a8f201..a504a0f9a4e 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -15,7 +15,6 @@ if [[ -n ${BINUTILS_TYPE} ]] ; then
        BTYPE=${BINUTILS_TYPE}
 else
        case ${PV} in
-       9999)      BTYPE="git";;
        9999_pre*) BTYPE="snap";;
        *.*.90)    BTYPE="snap";;
        *.*.*.*.*) BTYPE="hjlu";;
@@ -24,11 +23,6 @@ else
 fi
 
 case ${BTYPE} in
-git)
-       BVER="git"
-       EGIT_REPO_URI="git://sourceware.org/git/binutils-gdb.git"
-       inherit git-2
-       ;;
 snap)
        BVER=${PV/9999_pre}
        ;;
@@ -58,7 +52,6 @@ DESCRIPTION="Tools necessary to build programs"
 HOMEPAGE="https://sourceware.org/binutils/";
 
 case ${BTYPE} in
-       git) SRC_URI="" ;;
        snap)
                
SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2
                        
ftp://sourceware.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2"; ;;
@@ -113,10 +106,6 @@ if is_cross ; then
 fi
 
 S=${WORKDIR}/binutils
-case ${BVER} in
-git) ;;
-*) S=${S}-${BVER} ;;
-esac
 
 LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${BVER}
 INCPATH=${LIBPATH}/include
@@ -129,10 +118,7 @@ else
 fi
 
 tc-binutils_unpack() {
-       case ${BTYPE} in
-       git) git-2_src_unpack ;;
-       *)   unpacker ${A} ;;
-       esac
+       unpacker ${A}
        mkdir -p "${MY_BUILDDIR}"
        [[ -d ${WORKDIR}/patch ]] && mkdir "${WORKDIR}"/patch/skip
 }
-- 
2.17.1


Reply via email to