From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11481 invoked by uid 1002); 2 Apr 2003 11:14:18 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 28898 invoked from network); 2 Apr 2003 11:14:18 -0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@gentoo.org From: Peter Simons Date: 02 Apr 2003 13:14:14 +0200 Organization: private Message-ID: <87he9hqhh5.fsf@peti.cryp.to> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org Sender: news Subject: [gentoo-dev] Haskell support in Gentoo X-Archives-Salt: 828d1799-6656-4a33-a877-1b972cf243cb X-Archives-Hash: d2743b34568ec8ceea830b9c5af27977 We are moving the discussion from http://bugs.gentoo.org/show_bug.cgi?id=10155 to this forum in the hope of getting some feedback from the general Gentoo crowd. The problems we're facing are not so much Haskell-specific, but center around the problem of how to support Haskell in the Gentoo framework. Currently we try to find the best solution for the following problem: There are at least two compilers for the Haskell language: ghc and nhc. Unfortunately, not every program can be compiled with either of them; most packages require ghc specifically. Now we wonder how to organize this in the ebuild. A virtual "haskell-compiler" target won't do us any good, because -- as I said -- many packages require ghc. Hard-coding the ebuilds to depend on ghc only is not the right thing to do either, because some packages _can_ be build with either ghc or nhc, and ideally, the user would be able to choose which compiler should be used. How can this best be expressed in an ebuild? Peter -- gentoo-dev@gentoo.org mailing list