From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N4GC6-0002xZ-0V for garchives@archives.gentoo.org; Sat, 31 Oct 2009 15:48:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23EBAE0A8A; Sat, 31 Oct 2009 15:48:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E0144E0A8A for ; Sat, 31 Oct 2009 15:48:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 79DC466883 for ; Sat, 31 Oct 2009 15:48:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.156 X-Spam-Level: X-Spam-Status: No, score=-3.156 required=5.5 tests=[AWL=-0.557, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DOEEbuj7RAhx for ; Sat, 31 Oct 2009 15:48:38 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id E4D1B670D8 for ; Sat, 31 Oct 2009 15:48:37 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1N4GBo-0000Rw-TB for gentoo-devhelp@gentoo.org; Sat, 31 Oct 2009 16:48:28 +0100 Received: from athedsl-374302.home.otenet.gr ([79.131.14.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Oct 2009 16:48:28 +0100 Received: from realnc by athedsl-374302.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Oct 2009 16:48:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-devhelp@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-devhelp] Calling the default implementation of a function Date: Sat, 31 Oct 2009 17:47:54 +0200 Organization: Lucas Barks Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-374302.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091019 Thunderbird/3.0b4 Sender: news X-Archives-Salt: 5e6a11e8-ef2e-4094-825f-fcdbe0964ef2 X-Archives-Hash: 669dcfa07c08bcf4cf0b50d18b77f744 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?