/[gentoo-x86]/eclass/autotools.eclass
Gentoo

Diff of /eclass/autotools.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.88 Revision 1.89
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.88 2010/01/10 18:36:13 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.89 2010/01/10 18:39:16 scarabeus Exp $
4 4
5# @ECLASS: autotools.eclass 5# @ECLASS: autotools.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: Regenerates auto* build scripts 8# @BLURB: Regenerates auto* build scripts
28_autoconf_atom="sys-devel/autoconf" 28_autoconf_atom="sys-devel/autoconf"
29if [[ -n ${WANT_AUTOMAKE} ]]; then 29if [[ -n ${WANT_AUTOMAKE} ]]; then
30 case ${WANT_AUTOMAKE} in 30 case ${WANT_AUTOMAKE} in
31 none) _automake_atom="" ;; # some packages don't require automake at all 31 none) _automake_atom="" ;; # some packages don't require automake at all
32 # if you change the “latest” version here, change also autotools_run_tool 32 # if you change the “latest” version here, change also autotools_run_tool
33 latest) _automake_atom=">=sys-devel/automake-1.10.0" ;; 33 latest) _automake_atom="=sys-devel/automake-1.10*" ;;
34 *) _automake_atom="=sys-devel/automake-${WANT_AUTOMAKE}*" ;; 34 *) _automake_atom="=sys-devel/automake-${WANT_AUTOMAKE}*" ;;
35 esac 35 esac
36 export WANT_AUTOMAKE 36 export WANT_AUTOMAKE
37fi 37fi
38 38
241 ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase" 241 ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase"
242 fi 242 fi
243 243
244 # We do the “latest” → version switch here because it solves 244 # We do the “latest” → version switch here because it solves
245 # possible order problems, see bug #270010 as an example. 245 # possible order problems, see bug #270010 as an example.
246 [[ ${WANT_AUTOMAKE} == "latest" ]] && export WANT_AUTOMAKE=1.11 246 [[ ${WANT_AUTOMAKE} == "latest" ]] && export WANT_AUTOMAKE=1.10
247 [[ ${WANT_AUTOCONF} == "latest" ]] && export WANT_AUTOCONF=2.5 247 [[ ${WANT_AUTOCONF} == "latest" ]] && export WANT_AUTOCONF=2.5
248 248
249 local STDERR_TARGET="${T}/$1.out" 249 local STDERR_TARGET="${T}/$1.out"
250 # most of the time, there will only be one run, but if there are 250 # most of the time, there will only be one run, but if there are
251 # more, make sure we get unique log filenames 251 # more, make sure we get unique log filenames

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

  ViewVC Help
Powered by ViewVC 1.1.20