From d9b7de771efda8e7e27ac462a57b0a0b40b89674 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Aug 2008 12:50:08 +0000 Subject: Add support in EAPI 2_pre2 for a function named "default" is redefined for each phase so that it will call the default_* function corresponding to the current phase. Thanks to Thomas Anderson for the initial patch. svn path=/main/trunk/; revision=11342 --- doc/package/ebuild/eapi/2.docbook | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/package/ebuild/eapi') diff --git a/doc/package/ebuild/eapi/2.docbook b/doc/package/ebuild/eapi/2.docbook index dc2e0dc0a..275ab71ef 100644 --- a/doc/package/ebuild/eapi/2.docbook +++ b/doc/package/ebuild/eapi/2.docbook @@ -163,5 +163,15 @@ implementation. + + Default Phase Function Alias + + A function named "default" is redefined for each phase so that it + will call the default_* function corresponding to the current phase. + For example, a call to the function named "default" during the + src_compile phase is equivalent to a call to the function named + default_src_compile. + + -- cgit v1.2.3-1-g7c22