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

Diff of /eclass/libtool.eclass

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

Revision 1.45 Revision 1.46
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/libtool.eclass,v 1.45 2005/05/11 11:10:31 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.46 2005/05/11 15:15:03 azarah Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass patches ltmain.sh distributed with libtoolized packages with the 7# This eclass patches ltmain.sh distributed with libtoolized packages with the
8# relink and portage patch among others 8# relink and portage patch among others
229 else 229 else
230 if [[ -n $(grep 'We do not want portage' "${x}/ltmain.sh") ]] ; then 230 if [[ -n $(grep 'We do not want portage' "${x}/ltmain.sh") ]] ; then
231 ewarn " Portage patch seems to be already applied." 231 ewarn " Portage patch seems to be already applied."
232 ewarn " Please verify that it is not needed." 232 ewarn " Please verify that it is not needed."
233 else 233 else
234 local version=$( \
235 eval $(grep -e '^[[:space:]]*VERSION=' "${x}/ltmain.sh"); \
236 echo "${VERSION}")
237
234 echo 238 echo
235 eerror "Portage patch failed to apply!" 239 eerror "Portage patch failed to apply (ltmain.sh version ${version})!"
236 die "Portage patch failed to apply!" 240 die "Portage patch failed to apply!"
237 fi 241 fi
238 # We do not want to run libtoolize ... 242 # We do not want to run libtoolize ...
239 ELT_APPLIED_PATCHES="portage" 243 ELT_APPLIED_PATCHES="portage"
240 fi 244 fi

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20