Gentoo Archives: gentoo-devhelp

From: Thomas Sachau <tommy@g.o>
To: Nikos Chantziaras <realnc@×××××.de>
Cc: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Calling the default implementation of a function
Date: Sat, 31 Oct 2009 17:46:15
Message-Id: 4AEC77DC.6070608@gentoo.org
In Reply to: [gentoo-devhelp] Calling the default implementation of a function by Nikos Chantziaras
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. 2. <eclass>_src_prepare will call the src_prepare phase from <eclass> -- Thomas Sachau Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-devhelp] Re: Calling the default implementation of a function Nikos Chantziaras <realnc@×××××.de>