sys-libs/glibc: drop outdated ports/sysdeps/mips/ mangling
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 6 Apr 2018 06:43:35 +0000 (07:43 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 6 Apr 2018 06:43:49 +0000 (07:43 +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-9999.ebuild

index e6d10969e8b3da068d79790df378699dc4c1a89a..12272c31f35d5d9b5ff919360afb375d0538fe84 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