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

Diff of /eclass/gnuconfig.eclass

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

Revision 1.1.1.1 Revision 1.34
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2012 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/gnuconfig.eclass,v 1.1.1.1 2005/11/30 09:59:33 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.34 2012/09/15 16:16:53 zmedico Exp $
4#
5# THIS ECLASS IS DEAD: It has been integrated into portage
4# 6#
5# Author: Will Woods <wwoods@gentoo.org> 7# Author: Will Woods <wwoods@gentoo.org>
6# 8#
7# This eclass is used to automatically update files that typically come with 9# This eclass is used to automatically update files that typically come with
8# automake to the newest version available on the system. The most common use 10# automake to the newest version available on the system. The most common use
19# gnuconfig_update should generally be called from src_unpack() 21# gnuconfig_update should generally be called from src_unpack()
20 22
21 23
22DEPEND="sys-devel/gnuconfig" 24DEPEND="sys-devel/gnuconfig"
23 25
24DESCRIPTION="Based on the ${ECLASS} eclass"
25
26# Wrapper function for gnuconfig_do_update. If no arguments are given, update 26# Wrapper function for gnuconfig_do_update. If no arguments are given, update
27# config.sub and config.guess (old default behavior), otherwise update the 27# config.sub and config.guess (old default behavior), otherwise update the
28# named files. 28# named files.
29gnuconfig_update() { 29gnuconfig_update() {
30
31# hmm some packages (like binutils gcc glibc) still use this ...
32# echo
33# ewarn "QA Notice: Please stop using me, portage updates files for you."
34# echo
35
30 local startdir # declared here ... used in gnuconfig_do_update 36 local startdir # declared here ... used in gnuconfig_do_update
31 37
32 if [[ $1 == /* ]] ; then 38 if [[ $1 == /* ]] ; then
33 startdir=$1 39 startdir=$1
34 shift 40 shift

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20