summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-20 10:39:45 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-20 10:39:45 +0000
commitb43b56a7c4e02604df995811eb22c6e1f668a23d (patch)
tree42b990233f5f2df0bd0bb16c28dfdf3c226e3f8a /eclass
parentVersion bump. (diff)
downloadgentoo-2-b43b56a7c4e02604df995811eb22c6e1f668a23d.tar.gz
gentoo-2-b43b56a7c4e02604df995811eb22c6e1f668a23d.tar.bz2
gentoo-2-b43b56a7c4e02604df995811eb22c6e1f668a23d.zip
always depend on automake even when WANT_AUTOMAKE=none #401605
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 550d74520ab3..a36daed56c87 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.132 2012/05/20 10:32:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.133 2012/05/20 10:39:45 vapier Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -49,9 +49,10 @@ _automake_atom="sys-devel/automake"
_autoconf_atom="sys-devel/autoconf"
if [[ -n ${WANT_AUTOMAKE} ]]; then
case ${WANT_AUTOMAKE} in
- none) _automake_atom="" ;; # some packages don't require automake at all
- # if you change the "latest" version here, change also autotools_run_tool
- # this MUST reflect the latest stable major version for each arch!
+ # Even if the package doesn't use automake, we still need to depend
+ # on it because we run aclocal to process m4 macros. This matches
+ # the autoreconf tool, so this requirement is correct. #401605
+ none) ;;
latest)
# Use SLOT deps if we can. For EAPI=0, we get pretty close.
if [[ ${EAPI:-0} != 0 ]] ; then