| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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.96 2011/11/18 17:32:14 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.97 2011/12/13 21:28:15 vapier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: libtool.eclass |
5 | # @ECLASS: libtool.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # base-system@gentoo.org |
7 | # base-system@gentoo.org |
| 8 | # @BLURB: quickly update bundled libtool code |
8 | # @BLURB: quickly update bundled libtool code |
| … | |
… | |
| 11 | # relink and portage patch among others |
11 | # relink and portage patch among others |
| 12 | # |
12 | # |
| 13 | # Note, this eclass does not require libtool as it only applies patches to |
13 | # Note, this eclass does not require libtool as it only applies patches to |
| 14 | # generated libtool files. We do not run the libtoolize program because that |
14 | # generated libtool files. We do not run the libtoolize program because that |
| 15 | # requires a regeneration of the main autotool files in order to work properly. |
15 | # requires a regeneration of the main autotool files in order to work properly. |
|
|
16 | |
|
|
17 | if [[ ${___ECLASS_ONCE_LIBTOOL} != "recur -_+^+_- spank" ]] ; then |
|
|
18 | ___ECLASS_ONCE_LIBTOOL="recur -_+^+_- spank" |
| 16 | |
19 | |
| 17 | # If an overlay has eclass overrides, but doesn't actually override the |
20 | # If an overlay has eclass overrides, but doesn't actually override the |
| 18 | # libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's |
21 | # libtool.eclass, we'll have ECLASSDIR pointing to the active overlay's |
| 19 | # eclass/ dir, but libtool.eclass is still in the main Gentoo tree. So |
22 | # eclass/ dir, but libtool.eclass is still in the main Gentoo tree. So |
| 20 | # add a check to locate the ELT-patches/ regardless of what's going on. |
23 | # add a check to locate the ELT-patches/ regardless of what's going on. |
| … | |
… | |
| 495 | fi |
498 | fi |
| 496 | |
499 | |
| 497 | echo 1 |
500 | echo 1 |
| 498 | return 1 |
501 | return 1 |
| 499 | } |
502 | } |
|
|
503 | |
|
|
504 | fi |