toolchain.eclass: make toolchain_src_unpack() a default_src_unpack()
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 1 Feb 2020 12:31:21 +0000 (12:31 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 1 Feb 2020 12:35:46 +0000 (12:35 +0000)
commit1488b03bb6af0289f69ef4244ef79ed3225a10db
tree90a7c0cc5697b7d06710cc70a8bbaf926b9282be
parentb6c32d2ef45a15427a50e2f77b12c90c0e686972
toolchain.eclass: make toolchain_src_unpack() a default_src_unpack()

Before tha change toolchain_src_unpack() did not unpack every SRC_URI
entry and instead relied on toolchain_src_unpack() to unpack only
needed tarballs. Any special handling was only needed for old USE=d
versions of gcc.

This change moves all source code mangling to src_prepare() and makes
toolchain_src_unpack() a default_src_unpack().

The only exception is ebuild users of 'GCC_A_FAKEIT' (dev-lang/gnat-gpl)
who have to use it to workaround non-standard behaviour of toolchain_src_unpack()

The change will allow dev-lang/gnat-gpl to migrate to default_src_unpack().

Bug: https://bugs.gentoo.org/706588
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/toolchain.eclass