summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-08-01 19:38:49 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-08-01 19:38:49 +0000
commitc94c916e5476f8efd4ae723325e454f70569c957 (patch)
treee8311bddfa95ed34c94a14b762986ee9ac5d5615 /sys-devel
parentadded ppc to keywords (diff)
downloadgentoo-2-c94c916e5476f8efd4ae723325e454f70569c957.tar.gz
gentoo-2-c94c916e5476f8efd4ae723325e454f70569c957.tar.bz2
gentoo-2-c94c916e5476f8efd4ae723325e454f70569c957.zip
fix DEPEND
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/ChangeLog7
-rw-r--r--sys-devel/binutils/binutils-2.12.90.0.7.ebuild14
2 files changed, 15 insertions, 6 deletions
diff --git a/sys-devel/binutils/ChangeLog b/sys-devel/binutils/ChangeLog
index 59fea312a4cc..0e497c8ff87c 100644
--- a/sys-devel/binutils/ChangeLog
+++ b/sys-devel/binutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/binutils
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.10 2002/07/30 20:32:59 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.11 2002/08/01 19:38:49 azarah Exp $
+
+ 1 Aug 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ Updated DEPEND not to use if statements, but rather
+ new syntax of portage-2.0.21 and up.
*binutils-2.12.90.0.15 (30 Jul 2002)
diff --git a/sys-devel/binutils/binutils-2.12.90.0.7.ebuild b/sys-devel/binutils/binutils-2.12.90.0.7.ebuild
index d4dadb5ca93d..8b3b8a361217 100644
--- a/sys-devel/binutils/binutils-2.12.90.0.7.ebuild
+++ b/sys-devel/binutils/binutils-2.12.90.0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.7.ebuild,v 1.7 2002/07/16 05:51:10 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.7.ebuild,v 1.8 2002/08/01 19:38:49 azarah Exp $
# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
# the manpages, but seems this is incorrect ....
@@ -17,10 +17,14 @@ KEYWORDS="x86 ppc"
HOMEPAGE="http://sources.redhat.com/binutils/"
DEPEND="virtual/glibc
- nls? ( sys-devel/gettext )"
-
-[ -z "`use build`" ] && [ -z "`use bootstrap`" ] && \
- DEPEND="${DEPEND} sys-devel/perl"
+ >=sys-apps/portage-2.0.21
+ nls? ( sys-devel/gettext )
+ || ( sys-devel/perl
+ ( !build? ( sys-devel/perl ) )
+ ( !bootstrap? ( sys-devel/perl ) )
+ )"
+# This is a hairy one. Basically depend on sys-devel/perl
+# if "build" or "bootstrap" not in USE.
src_compile() {