| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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.31 2004/09/22 20:04:27 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.32 2004/09/25 06:35:09 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 |
| … | |
… | |
| 263 | uclibctoolize() { |
263 | uclibctoolize() { |
| 264 | local targets="" |
264 | local targets="" |
| 265 | local x |
265 | local x |
| 266 | |
266 | |
| 267 | if [ -z "$@" ] ; then |
267 | if [ -z "$@" ] ; then |
| 268 | targets="$(find ${S} -name configure)" |
268 | targets="$(find ${S} -name configure -o -name ltconfig)" |
| 269 | fi |
269 | fi |
| 270 | |
270 | |
| 271 | einfo "Applying uClibc/libtool patches ..." |
271 | einfo "Applying uClibc/libtool patches ..." |
| 272 | for x in ${targets} ; do |
272 | for x in ${targets} ; do |
| 273 | case $(basename "${x}") in |
273 | case $(basename "${x}") in |