sys-libs/glibc: drop outdated ports/sysdeps/mips/ mangling
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 6 Apr 2018 07:05:33 +0000 (08:05 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 6 Apr 2018 19:13:37 +0000 (20:13 +0100)
ports/ is no more. All mips ports were merged into glibc repository.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

sys-libs/glibc/glibc-2.27-r1.ebuild

index 588eebae7f2d620c662716f7b6e631cadf2cc7b7..c61cf3e292927e9959f41175a2d697d746ed59c3 100644 (file)
@@ -755,13 +755,6 @@ src_prepare() {
        fi
 
        if just_headers ; then
-               if [[ -e ports/sysdeps/mips/preconfigure ]] ; then
-                       # mips peeps like to screw with us.  if building headers,
-                       # we don't have a real compiler, so we can't let them
-                       # insert -mabi on us.
-                       sed -i '/CPPFLAGS=.*-mabi/s|.*|:|' ports/sysdeps/mips/preconfigure || die
-                       find ports/sysdeps/mips/ -name Makefile -exec sed -i '/^CC.*-mabi=/s:-mabi=.*:-D_MIPS_SZPTR=32:' {} +
-               fi
                if [[ -e sysdeps/riscv/preconfigure ]] ; then
                        # RISC-V interrogates the compiler to determine which target to
                        # build.  If building the headers then we don't strictly need a