| 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.63 2006/01/22 00:24:15 azarah Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.64 2006/02/03 22:20:25 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 |
| … | |
… | |
| 215 | |
215 | |
| 216 | for y in ${elt_patches} ; do |
216 | for y in ${elt_patches} ; do |
| 217 | local ret=0 |
217 | local ret=0 |
| 218 | |
218 | |
| 219 | case "${y}" in |
219 | case "${y}" in |
|
|
220 | "portage") |
|
|
221 | # Stupid test to see if its already applied ... |
|
|
222 | if [[ -z $(grep 'We do not want portage' "${x}/ltmain.sh") ]] ; then |
|
|
223 | ELT_walk_patches "${x}/ltmain.sh" "${y}" |
|
|
224 | ret=$? |
|
|
225 | fi |
|
|
226 | ;; |
| 220 | "rem-int-dep") |
227 | "rem-int-dep") |
| 221 | ELT_walk_patches "${x}/ltmain.sh" "${y}" "${deptoremove}" |
228 | ELT_walk_patches "${x}/ltmain.sh" "${y}" "${deptoremove}" |
| 222 | ret=$? |
229 | ret=$? |
| 223 | ;; |
230 | ;; |
| 224 | "fix-relink") |
231 | "fix-relink") |