summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-02-12 08:52:05 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-02-12 08:52:05 +0000
commitb28f2c76bff1e5f85a2db2919e3caddf51f7f8bb (patch)
treef5b0f0a8e7415d7c9d4ef05fefb1c651e4b58ffc /sys-devel/gcc/gcc-3.3.5.20050130.ebuild
parentremove unnecessary RDEPEND=${DEPEND} (diff)
downloadgentoo-2-b28f2c76bff1e5f85a2db2919e3caddf51f7f8bb.tar.gz
gentoo-2-b28f2c76bff1e5f85a2db2919e3caddf51f7f8bb.tar.bz2
gentoo-2-b28f2c76bff1e5f85a2db2919e3caddf51f7f8bb.zip
Added DEPEND for cross-compilation.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-devel/gcc/gcc-3.3.5.20050130.ebuild')
-rw-r--r--sys-devel/gcc/gcc-3.3.5.20050130.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-3.3.5.20050130.ebuild b/sys-devel/gcc/gcc-3.3.5.20050130.ebuild
index b4be07c95d55..8da52989e280 100644
--- a/sys-devel/gcc/gcc-3.3.5.20050130.ebuild
+++ b/sys-devel/gcc/gcc-3.3.5.20050130.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.5.20050130.ebuild,v 1.5 2005/02/02 23:43:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.5.20050130.ebuild,v 1.6 2005/02/12 08:52:05 eradicator Exp $
GENTOO_TOOLCHAIN_BASE_URI="http://dev.gentoo.org/~eradicator/gcc/"
#GCC_MANPAGE_VERSION="3.3.5"
@@ -59,6 +59,13 @@ RDEPEND="virtual/libc
>=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext )
)"
+
+if [[ ${CATEGORY/cross-} != ${CATEGORY} ]]; then
+ RDEPEND="${RDEPEND}
+ ${CATEGORY}/binutils
+ !nocxx ( >=${CATEGORY}/glibc-2.3.4.20040808-r1 )"
+fi
+
DEPEND="${RDEPEND}
>=sys-apps/texinfo-4.2-r4
amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"