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

Diff of /eclass/libtool.eclass

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

Revision 1.46 Revision 1.47
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.46 2005/05/11 15:15:03 azarah Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.47 2005/05/27 23:46:13 vapier 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
250 if [[ ${do_portage} == "no" && \ 250 if [[ ${do_portage} == "no" && \
251 ${do_reversedeps} == "no" && \ 251 ${do_reversedeps} == "no" && \
252 ${do_only_patches} == "no" && \ 252 ${do_only_patches} == "no" && \
253 ${deptoremove} == "" ]] 253 ${deptoremove} == "" ]]
254 then 254 then
255 ewarn "Cannot apply any patches, please file a bug about this"
256 break
257
255 # Sometimes ltmain.sh is in a subdirectory ... 258 # Sometimes ltmain.sh is in a subdirectory ...
256 if [[ ! -f ${x}/configure.in && ! -f ${x}/configure.ac ]] ; then 259 if [[ ! -f ${x}/configure.in && ! -f ${x}/configure.ac ]] ; then
257 if [[ -f ${x}/../configure.in || -f ${x}/../configure.ac ]] ; then 260 if [[ -f ${x}/../configure.in || -f ${x}/../configure.ac ]] ; then
258 cd "${x}"/../ 261 cd "${x}"/../
259 fi 262 fi
260 fi 263 fi
261 264
262 if type -p libtoolize &> /dev/null ; then 265 if type -p libtoolize &> /dev/null ; then
263 ewarn "Cannot apply any patch, running libtoolize..." 266 ewarn "Cannot apply any patches, running libtoolize..."
264 libtoolize --copy --force 267 libtoolize --copy --force
265 fi 268 fi
266 cd "${x}" 269 cd "${x}"
267 break 270 break
268 fi 271 fi

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

  ViewVC Help
Powered by ViewVC 1.1.20