| 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.44 2005/03/23 18:03:21 azarah Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.45 2005/05/11 11:10:31 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 |
| … | |
… | |
| 225 | echo |
225 | echo |
| 226 | eerror "Portage patch requested, but failed to apply!" |
226 | eerror "Portage patch requested, but failed to apply!" |
| 227 | die "Portage patch requested, but failed to apply!" |
227 | die "Portage patch requested, but failed to apply!" |
| 228 | fi |
228 | fi |
| 229 | else |
229 | else |
| 230 | ewarn " Could not apply portage.patch!" |
230 | if [[ -n $(grep 'We do not want portage' "${x}/ltmain.sh") ]] ; then |
|
|
231 | ewarn " Portage patch seems to be already applied." |
| 231 | ewarn " Please verify that it is not needed." |
232 | ewarn " Please verify that it is not needed." |
|
|
233 | else |
|
|
234 | echo |
|
|
235 | eerror "Portage patch failed to apply!" |
|
|
236 | die "Portage patch failed to apply!" |
|
|
237 | fi |
|
|
238 | # We do not want to run libtoolize ... |
|
|
239 | ELT_APPLIED_PATCHES="portage" |
| 232 | fi |
240 | fi |
| 233 | ;; |
241 | ;; |
| 234 | esac |
242 | esac |
| 235 | fi |
243 | fi |
| 236 | |
244 | |