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

Diff of /eclass/eutils.eclass

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

Revision 1.165 Revision 1.166
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/eutils.eclass,v 1.165 2005/04/12 01:01:23 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.166 2005/04/15 22:01:42 vapier Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
82 fperms a+x "/usr/${libdir}/${lib}" 82 fperms a+x "/usr/${libdir}/${lib}"
83 done 83 done
84} 84}
85 85
86# Simple function to draw a line consisting of '=' the same length as $* 86# Simple function to draw a line consisting of '=' the same length as $*
87# - only to be used by epatch()
87# 88#
88# <azarah@gentoo.org> (11 Nov 2002) 89# <azarah@gentoo.org> (11 Nov 2002)
89# 90#
90draw_line() { 91draw_line() {
91 local i=0 92 local i=0
1554 else 1555 else
1555 ewarn "Sorry, but ${PN} does not support the ${f} LINGUA" 1556 ewarn "Sorry, but ${PN} does not support the ${f} LINGUA"
1556 fi 1557 fi
1557 done 1558 done
1558 if [[ -z ${newls} ]] ; then 1559 if [[ -z ${newls} ]] ; then
1559 unset LINGUAS 1560 export LINGUAS=""
1560 else 1561 else
1561 export LINGUAS=${newls:1} 1562 export LINGUAS=${newls:1}
1562 fi 1563 fi
1563} 1564}
1564 1565

Legend:
Removed from v.1.165  
changed lines
  Added in v.1.166

  ViewVC Help
Powered by ViewVC 1.1.20