summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-04 16:54:10 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-04 16:54:10 +0000
commit7ceafc3b1ffd22f33daca7b1b3c94317ea6e8dbd (patch)
tree22b6a59a29b9fd646184d57116f9c43388d5b9ba /eclass/autotools.eclass
parentDrop unused --enable-usbmodules #253603 by Arfrever Frehtes Taifersar Arahesis. (diff)
downloadgentoo-2-7ceafc3b1ffd22f33daca7b1b3c94317ea6e8dbd.tar.gz
gentoo-2-7ceafc3b1ffd22f33daca7b1b3c94317ea6e8dbd.tar.bz2
gentoo-2-7ceafc3b1ffd22f33daca7b1b3c94317ea6e8dbd.zip
dont add sys-devel/libtool to DEPEND if the package is sys-devel/libtool #253635 by Javier Villavicencio
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 71593941a1a0..bbaa5dd0c830 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.81 2008/09/26 16:21:54 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.82 2009/01/04 16:54:10 vapier Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -47,8 +47,8 @@ if [[ -n ${WANT_AUTOCONF} ]] ; then
export WANT_AUTOCONF
fi
DEPEND="${_automake_atom}
- ${_autoconf_atom}
- sys-devel/libtool"
+ ${_autoconf_atom}"
+[[ ${CATEGORY}/${PN} != "sys-devel/libtool" ]] && DEPEND="${DEPEND} sys-devel/libtool"
RDEPEND=""
unset _automake_atom _autoconf_atom