summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-04-02 19:02:33 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-04-02 19:02:33 +0100
commit6d63ec93150ba084729e4c4f5bdd802f03006a3b (patch)
tree357103cf4cc15888f5b79d3988afa48441683be5 /eclass
parentapp-editors/vim: stable 8.2.0360 for sparc, bug #715732 (diff)
downloadgentoo-6d63ec93150ba084729e4c4f5bdd802f03006a3b.tar.gz
gentoo-6d63ec93150ba084729e4c4f5bdd802f03006a3b.tar.bz2
gentoo-6d63ec93150ba084729e4c4f5bdd802f03006a3b.zip
toolchain.eclass: drop I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS guard
Let's rely on keywording alone to guard against accidental installation. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass16
1 files changed, 0 insertions, 16 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index ee466ee4d904..46482ad9d753 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -426,17 +426,7 @@ SRC_URI=$(get_gcc_src_uri)
#---->> pkg_pretend <<----
-toolchain_is_unsupported() {
- [[ -n ${SNAPSHOT} ]] || tc_is_live
-}
-
toolchain_pkg_pretend() {
- if toolchain_is_unsupported &&
- [[ -z ${I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS} ]] ; then
- die "Please \`export I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1\` or define it" \
- "in your make.conf if you want to use this version."
- fi
-
if ! use_if_iuse cxx ; then
use_if_iuse go && ewarn 'Go requires a C++ compiler, disabled due to USE="-cxx"'
use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="-cxx"'
@@ -2234,12 +2224,6 @@ toolchain_pkg_postinst() {
# handling of binpkgs, don't require these to be found
cp "${ROOT%/}${DATAPATH}"/c{89,99} "${EROOT%/}"/usr/bin/ 2>/dev/null
fi
-
- if toolchain_is_unsupported ; then
- einfo "This GCC ebuild is provided for your convenience, and the use"
- einfo "of this compiler is not supported by the Gentoo Developers."
- einfo "Please report bugs to upstream at http://gcc.gnu.org/bugzilla/"
- fi
}
toolchain_pkg_postrm() {