public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-devhelp]  Calling the default implementation of a function
@ 2009-10-31 15:47 Nikos Chantziaras
  2009-10-31 17:46 ` Thomas Sachau
  2009-10-31 21:37 ` [gentoo-devhelp] " Mike Frysinger
  0 siblings, 2 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2009-10-31 15:47 UTC (permalink / raw
  To: gentoo-devhelp

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?




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-01 20:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-31 15:47 [gentoo-devhelp] Calling the default implementation of a function Nikos Chantziaras
2009-10-31 17:46 ` Thomas Sachau
2009-10-31 18:06   ` [gentoo-devhelp] " Nikos Chantziaras
2009-10-31 18:22     ` Thomas Sachau
2009-10-31 21:37 ` [gentoo-devhelp] " Mike Frysinger
2009-11-01 19:34   ` [gentoo-devhelp] " Nikos Chantziaras
2009-11-01 20:03     ` Mike Frysinger
2009-11-01 20:17       ` Nikos Chantziaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox