From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GQXzt-0002SW-8Z for garchives@archives.gentoo.org; Thu, 21 Sep 2006 23:30:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8LNSv4A016483; Thu, 21 Sep 2006 23:28:57 GMT Received: from smtp1.libero.it (smtp1.libero.it [193.70.192.51]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8LNPksG006395 for ; Thu, 21 Sep 2006 23:25:46 GMT Received: from localhost (172.16.1.48) by smtp1.libero.it (7.0.027-DD01) id 44ECC4FC028C67F1 for gentoo-dev@lists.gentoo.org; Fri, 22 Sep 2006 01:25:46 +0200 Received: from smtp2.libero.it ([172.16.1.225]) by localhost (asav8.libero.it [193.70.193.94]) (amavisd-new, port 10024) with ESMTP id 17034-09 for ; Fri, 22 Sep 2006 01:25:45 +0200 (CEST) Received: from [192.168.0.6] (adsl-ull-148-61.44-151.net24.it [151.44.61.148]) by smtp2.libero.it (Postfix) with ESMTP id 4173FA8C0F for ; Fri, 22 Sep 2006 01:25:45 +0200 (MEST) Message-ID: <45131F73.8030502@gentoo.org> Date: Fri, 22 Sep 2006 01:25:39 +0200 From: Luca Barbato User-Agent: Thunderbird 1.5.0.7 (X11/20060921) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC about another *DEPEND variable References: <45126B07.6030403@gentoo.org> <200609210952.27835.vapier@gentoo.org> <1158850564.16173.97.camel@localhost> <200609211111.31539.vapier@gentoo.org> <1158853263.16173.115.camel@localhost> <4512D978.2080003@gentoo.org> <1158874442.16173.124.camel@localhost> In-Reply-To: <1158874442.16173.124.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned: with antispam and antivirus automated system at libero.it X-Archives-Salt: 745a5416-b603-43fb-8c39-9f6479de1512 X-Archives-Hash: fcb0b3bb3dcff07d8fb1c01573a65aa8 Duncan Coutts wrote: > On Thu, 2006-09-21 at 20:27 +0200, Luca Barbato wrote: >> Duncan Coutts wrote: >> >>> So my point is, I don't think it can be simply dismissed as ABI nonsense >>> that we don't have to deal with. Being able to SLOT on the compiler >>> flavour (and possibly version) would allow us to do useful things that >>> we cannot currently do. >> what about making them build what you want depending on useflags? > > Aye, for the implementation flavours that's probably the way to go once > we have use-deps. We'll have to hold off on multiple versions of the > same compiler though. > > It might get a bit hairy though :-) > > DEPEND="ghc? ( dev-haskell/foo @ ghc ) > hugs? ( dev-haskell/foo @ hugs ) > yhc? ( dev-haskell/foo @ yhc ) > jhc? ( dev-haskell/foo @ jhc )" > > (I've not looked up what the use-dep syntax is, I'm just guessing) as now, you can handle that with an eclass that takes deps, checks those deps with certain use if the use has been enabled and dies if those criterions aren't meet (asking you to falling back to hc-updater to keep those applications in shape) pretty hacky and itchy but that's probably the best you can do w/out use-deps. (PS can you slot on use now?) lu -- Luca Barbato Gentoo/linux Gentoo/PPC http://dev.gentoo.org/~lu_zero -- gentoo-dev@gentoo.org mailing list