Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Nikos Chantziaras <realnc@...>
From: Thomas Sachau <tommy@g.o>
Subject: Re: Calling the default implementation of a function
Date: Sat, 31 Oct 2009 18:46:04 +0100
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

Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: Calling the default implementation of a function
-- Nikos Chantziaras
References:
Calling the default implementation of a function
-- Nikos Chantziaras
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Calling the default implementation of a function
Next by thread:
Re: Calling the default implementation of a function
Previous by date:
Calling the default implementation of a function
Next by date:
Re: Calling the default implementation of a function


Updated May 27, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.