| 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.71 2006/04/29 12:18:30 flameeyes Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.72 2006/05/09 17:50:17 flameeyes 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 |
| … | |
… | |
| 125 | local do_reversedeps="no" |
125 | local do_reversedeps="no" |
| 126 | local do_only_patches="no" |
126 | local do_only_patches="no" |
| 127 | local do_uclibc="yes" |
127 | local do_uclibc="yes" |
| 128 | local deptoremove= |
128 | local deptoremove= |
| 129 | local my_dirlist= |
129 | local my_dirlist= |
| 130 | local elt_patches="portage relink max_cmd_len sed test tmp" # kde-fastinstall |
130 | local elt_patches="portage relink max_cmd_len sed test tmp" |
| 131 | local start_dir=${PWD} |
131 | local start_dir=${PWD} |
| 132 | |
132 | |
| 133 | my_dirlist=$(ELT_find_ltmain_sh) |
133 | my_dirlist=$(ELT_find_ltmain_sh) |
| 134 | |
134 | |
| 135 | for x in "$@" ; do |
135 | for x in "$@" ; do |
| … | |
… | |
| 333 | ;; |
333 | ;; |
| 334 | "darwin-"*) |
334 | "darwin-"*) |
| 335 | useq ppc-macos && \ |
335 | useq ppc-macos && \ |
| 336 | ewarn " Darwin patch set '${y}' failed to apply!" |
336 | ewarn " Darwin patch set '${y}' failed to apply!" |
| 337 | ;; |
337 | ;; |
| 338 | "kde-fastinstall") |
|
|
| 339 | if [[ -n $(grep 'test "$mode" != relink && test "$fast_install" = no' ${x}/ltmain.sh) ]]; then |
|
|
| 340 | ewarn "Patch ${y} failed to apply. If you experience build failures, please report this." |
|
|
| 341 | fi |
|
|
| 342 | ;; |
|
|
| 343 | esac |
338 | esac |
| 344 | fi |
339 | fi |
| 345 | done |
340 | done |
| 346 | |
341 | |
| 347 | if [[ -z ${ELT_APPLIED_PATCHES} ]] ; then |
342 | if [[ -z ${ELT_APPLIED_PATCHES} ]] ; then |