List Archive: gentoo-devhelp
On Saturday 31 October 2009 11:47:54 Nikos Chantziaras wrote:
> 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?
better to wrap the func definition:
if [[ ${PV} == "9999" ]] ; then
src_prepare() { eautoreconf; }
fi
-mike
|
| Attachment: |
|
signature.asc (This is a digitally signed message part.)
|
|