Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/crossdev:master commit in: /
Date: Mon, 31 Oct 2011 03:30:52
Message-Id: c149fbeb8f8fb081f0c426910bc814d2219be5d7.vapier@gentoo
1 commit: c149fbeb8f8fb081f0c426910bc814d2219be5d7
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 03:29:15 2011 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 03:29:15 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commit;h=c149fbeb
7
8 crossdev: drop obsolete host checks
9
10 We've long progressed past needing to check for binutils-config and gcc
11 ebuilds that inherit the toolchain eclass. So drop them.
12
13 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
14
15 ---
16 crossdev | 16 ----------------
17 1 files changed, 0 insertions(+), 16 deletions(-)
18
19 diff --git a/crossdev b/crossdev
20 index 48c6f96..6580dc8 100755
21 --- a/crossdev
22 +++ b/crossdev
23 @@ -514,22 +514,6 @@ for with in HEADERS ; do
24 [[ ${!var} == "COW" ]] && eval ${var}=${!defvar}
25 done
26
27 -#####################
28 -### sanity checks ###
29 -if ! binutils-config --version &> /dev/null ; then
30 - eerror "Sorry, but your host system needs to have binutils-config"
31 - eerror "in order to keep from screwing things up."
32 - eerror "That means you must be running unstable versions of"
33 - eerror "both binutils and binutils-config."
34 - exit 1
35 -fi
36 -if ! egrep -qs 'inherit.*toolchain( |$)' /var/db/pkg/sys-devel/gcc-*/*.ebuild ; then
37 - eerror "Sorry, but your host system needs to have"
38 - eerror "an unstable version of gcc in order to"
39 - eerror "keep from screwing things up."
40 - exit 1
41 -fi
42 -
43 setup_portage_vars
44 if [[ -z ${CROSSDEV_OVERLAY} ]] ; then
45 eerror "You need to specify an output overlay. Please use --ov-output or set"