| 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.64 2006/02/03 22:20:25 azarah Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.65 2006/03/30 12:29:23 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 |
| … | |
… | |
| 331 | [[ ${CHOST} == *"-uclibc" ]] && \ |
331 | [[ ${CHOST} == *"-uclibc" ]] && \ |
| 332 | ewarn " uClibc patch set '${y}' failed to apply!" |
332 | ewarn " uClibc patch set '${y}' failed to apply!" |
| 333 | ;; |
333 | ;; |
| 334 | "fbsd-"*) |
334 | "fbsd-"*) |
| 335 | if [[ ${CHOST} == *"-freebsd"* ]] ; then |
335 | if [[ ${CHOST} == *"-freebsd"* ]] ; then |
| 336 | if [[ -z $(grep 'Handle Gentoo/FreeBSD as it was Linux' "${x}/configure") ]]; then |
336 | if [[ -z $(grep 'Handle Gentoo/FreeBSD as it was Linux' \ |
|
|
337 | "${x}/configure" "${x}/../configure" 2>/dev/null) ]]; then |
| 337 | eerror " FreeBSD patch set '${y}' failed to apply!" |
338 | eerror " FreeBSD patch set '${y}' failed to apply!" |
| 338 | die "FreeBSD patch set '${y}' failed to apply!" |
339 | die "FreeBSD patch set '${y}' failed to apply!" |
| 339 | fi |
340 | fi |
| 340 | fi |
341 | fi |
| 341 | ;; |
342 | ;; |