site: drop duplicated socket logic

The core linux-gnu site had its abstract sockets set to yes, but the
mips one was specifically setting it to no.  Drop the mips code.

URL: http://crbug.com/394181
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cross-pkg-config: utilize PKG_CONFIG_SYSROOT_DIR

Now that the 0.24 release has been out for a few years, we can start
relying on its availability.

URL: https://bugs.gentoo.org/517530
Reported-by: Mike Marineau <mike@marineau.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cross-pkg-config: set up PKG_CONFIG_SYSTEM_LIBRARY_PATH

Rather than hardcode /usr/lib, set PKG_CONFIG_SYSTEM_LIBRARY_PATH to the
right libdir paths.  This should handle lib vs lib64 vs lib correctly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
crossdev: set repo-name in generated layout.conf

URL: http://crbug.com/415246
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
switch from PORTDIR/PORTDIR_OVERLAY to repositories_configuration

URL: https://bugs.gentoo.org/520880
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cross-pkg-config: probe pkgconfig dir directly

Since we're looking for the pkgconfig dir, let's probe it directly rather
than rely on specific C library files.

URL: https://bugs.gentoo.org/518790
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cross-emerge: drop automatic fakeroot usage

Portage is not designed to run wrapped in fakeroot.  Instead one should
set FEATURES="fakeroot".  Wrapping emerge with fakeroot triggers emerge
to disable fakeroot.

URL: https://bugs.gentoo.org/489016
URL: https://bugs.gentoo.org/523098
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
crossdev: disable USE=sanitize during gcc stage1

URL: https://bugs.gentoo.org/525910
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cross-pkg-config: avoid bashism

URL: https://bugs.gentoo.org/525068
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
emerge-wrapper: improve warning messages

The current output isn't clear as to what is wrong.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
crossdev: mask live versions by default

When users use something like '>=2.24', they don't want to also unmask
the 9999 versions, so add that to package.mask by default.  They can
get that version only if they explicitly request it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
crossdev: update msp430 support to use standard binutils/gcc/newlib/gdb

Signed-off-by: Tim Harder <radhermit@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
crossdev: set LIBC=mingw for mingw targets

URL: https://bugs.gentoo.org/340989
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
config.site: rewrite in POSIX shell

URL: https://bugs.gentoo.org/497626
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Merge remote-tracking branch 'gentoo/master'

Conflicts:
	crossdev