| 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.37 2004/10/19 19:51:12 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.38 2004/10/20 14:25:02 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 |
| … | |
… | |
| 272 | |
272 | |
| 273 | uclibctoolize |
273 | uclibctoolize |
| 274 | } |
274 | } |
| 275 | |
275 | |
| 276 | uclibctoolize() { |
276 | uclibctoolize() { |
|
|
277 | [ -e "${WORKDIR}/.uclibcpatched" ] && return 0 |
|
|
278 | |
| 277 | local targets="" |
279 | local targets="" |
| 278 | local x |
280 | local x |
| 279 | |
281 | |
| 280 | if [ -z "$@" ] ; then |
282 | if [ -z "$@" ] ; then |
| 281 | targets="$(find ${S} -name configure -o -name ltconfig)" |
283 | targets="$(find ${S} -name configure -o -name ltconfig)" |