summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-01-11 21:34:34 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-01-11 21:35:13 +0000
commit447de7a8a31b6878e12033334e0ac19b16a0f6a1 (patch)
tree7b5e29aa6392398386bc76b543bd0eda3d1956aa /eclass
parentapp-i18n/ibus-1.5.19: drop to ~arm64 (1.5.20 is stable) (diff)
downloadgentoo-447de7a8a31b6878e12033334e0ac19b16a0f6a1.tar.gz
gentoo-447de7a8a31b6878e12033334e0ac19b16a0f6a1.tar.bz2
gentoo-447de7a8a31b6878e12033334e0ac19b16a0f6a1.zip
toolchain.eclass: allow applying patchsets to live ebuilds
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 64c38828a2eb..5f9bd7750dda 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -438,9 +438,9 @@ toolchain_pkg_setup() {
toolchain_src_unpack() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_unpack
- else
- gcc_quick_unpack
fi
+
+ gcc_quick_unpack
}
gcc_quick_unpack() {
@@ -455,6 +455,8 @@ gcc_quick_unpack() {
# 'GCC_A_FAKEIT' to specify it's own source and binary tarballs.
if [[ -n ${GCC_A_FAKEIT} ]] ; then
unpack ${GCC_A_FAKEIT}
+ elif [[ ${PV} == *9999* ]]; then
+ : # sources comes from git, not tarball
elif [[ -n ${PRERELEASE} ]] ; then
unpack gcc-${PRERELEASE}.tar.bz2
elif [[ -n ${SNAPSHOT} ]] ; then