List Archive: gentoo-devhelp
On 10/31/2009 07:46 PM, Thomas Sachau wrote:
> Nikos Chantziaras schrieb:
>> Is there a way to call the default implementation of a function inside
>> the ebuild-specified one?
>>
>> What I mean is:
>>
>> src_prepare() {
>> if [ "$PV" == "9999" ]; then
>> ./autogen.sh
>> else
>> src_prepare() # Default from eclass.
>> fi
>> }
>>
>> Possible?
>>
>>
>>
>
> 1. i suggest to use eautoreconf instead of those homegrown scripts.
I know, but it doesn't work in this case. In short: doesn't work :P In
long: This is a dual ebuild (can be used as live as well as regular) for
app-misc/mc, and mc really needs its own autogen.sh; it does weird stuff
in there, much more than what eautoreconf does.
> 2.<eclass>_src_prepare will call the src_prepare phase from<eclass>
Thanks. What's the default eclass of ebuilds that don't have any
"inherit" line in them?
|
|