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 1NN8hn-00076u-Dw for garchives@archives.gentoo.org; Tue, 22 Dec 2009 17:39:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17004E07D3; Tue, 22 Dec 2009 17:38:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E6AC6E07D3 for ; Tue, 22 Dec 2009 17:38:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 824A767886 for ; Tue, 22 Dec 2009 17:38:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.107 X-Spam-Level: X-Spam-Status: No, score=-3.107 required=5.5 tests=[AWL=-0.508, 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 57jhoo82GbwU for ; Tue, 22 Dec 2009 17:38:17 +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 E56F467E50 for ; Tue, 22 Dec 2009 17:38:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NN8gU-00005C-Uo for gentoo-user@gentoo.org; Tue, 22 Dec 2009 18:38:10 +0100 Received: from athedsl-382048.home.otenet.gr ([79.131.44.94]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2009 18:38:10 +0100 Received: from realnc by athedsl-382048.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2009 18:38:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: make an -9999 ebuild compile only if necessary Date: Tue, 22 Dec 2009 19:37:53 +0200 Organization: Lucas Barks Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-382048.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 In-Reply-To: Sender: news X-Archives-Salt: 4562dfcb-c737-4a99-8dba-b8b77f4566a5 X-Archives-Hash: 3c48fed57ea702f1441cfb99d6eeba9b On 12/22/2009 07:21 PM, Helmut Jarausch wrote: > Hi, > > I have ebuilds fetching the source code directly from a repository > (be it CVS,SVN,HG,GIT,...) > I'd like to modify the .ebuild to enter compilation only if something > has been updated. > Is this possible, has somebody else tried to do so? Given that portage relies on USE flags and version numbers to decide on whether a rebuild is necessary, no, it's not possible. But I'd be interested too if someone could think of some clever hack to accomplish this :)