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 1NN9FN-0001qr-U9 for garchives@archives.gentoo.org; Tue, 22 Dec 2009 18:14:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CD91E088F; Tue, 22 Dec 2009 18:13:28 +0000 (UTC) Received: from mail-gx0-f224.google.com (mail-gx0-f224.google.com [209.85.217.224]) by pigeon.gentoo.org (Postfix) with ESMTP id 4C414E088F for ; Tue, 22 Dec 2009 18:13:28 +0000 (UTC) Received: by gxk24 with SMTP id 24so5252541gxk.6 for ; Tue, 22 Dec 2009 10:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=ds1cUDo4JYTnRYAnf2mhMVPsf44nM4NRrMJ0tkC4KO4=; b=aQ6tq/pdqA/6BfwkUbH9mZCzwxNKK3/4EAqG7E4MfGTnXxK6CWr6v23VjoftDqv765 88auwXwRmOof5WYc0mtwGoslWlrMTCo0oZqMgKQr1awAW2hPUSfsnJLa1/g7PgMfpqKb 3iK2cI1hAG99HzdSf01eqBwm3chmJ075EteVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=dTDE4Tzw4PPiZ6vMDw4h4lLSpH6UHaNN+b0W9Kjgjdjh+zJRqIFZ9Zh68jqt5OpB54 3GEtl1/WyN9n1zvOOFv39P/kj6iKT60FhUC3klczKma24Iwb0OBKJ9LVmGs3g84KpDIb LHg6YbmTTS5tZzg4/lbhhU1Y70WsCODmoWYvc= 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 Sender: paul.hartman@gmail.com Received: by 10.150.48.40 with SMTP id v40mr14041803ybv.142.1261505607458; Tue, 22 Dec 2009 10:13:27 -0800 (PST) In-Reply-To: References: Date: Tue, 22 Dec 2009 12:13:27 -0600 X-Google-Sender-Auth: 36496a191684e4c8 Message-ID: <58965d8a0912221013g76c4a368q5a2237ea24153ff6@mail.gmail.com> Subject: Re: [gentoo-user] Re: make an -9999 ebuild compile only if necessary From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: f51a9f6c-2886-4e9d-9aa0-8c32919c1075 X-Archives-Hash: 02b434affe8104cfabbe5746b31a0334 On Tue, Dec 22, 2009 at 11:37 AM, Nikos Chantziaras wrote: > 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 :) Maybe just make the merge fail. So that way you could "emerge @live-rebuild --keep-going" and it would only actually emerge things that had changed.