Summary: | Please review Prefix modifications to haskell-cabal.eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabian Groffen <grobian> |
Component: | Eclasses | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | prefix |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 315803, 312597 |
Description
Fabian Groffen
2010-04-01 11:32:39 UTC
Sorry for so late response. ./setup copy \ - --destdir="${D}" \ + --copy-prefix="${ED}/usr" \ This one will break for sure. ghc (the haskell compiler) is expected to be installed in $EPREFIX directory (as the rest of stuff), right? I'm not sure it will work. May I ask for a "quick gentoo prefix install howto" link? I'd try to install it and attempt to make things work. Interestingly that copy-prefix thing seems to come from a sync, 2007-07-26. Perhaps this was reverted again. The destdir thing seems to be from just a day before from 1.11, which mention "updates to ghc-6.6.x upgrade". It is safe to assume we somehow missed this update (syncing isn't perfect). I think --destdir="${D}" \ is the correct thing to take here. But I need to test this (which takes some considerate amount of time) Your howto: http://blog.jolexa.net/2010/03/23/installing-gentoo-prefix-on-a-gentoo-linux-host/ Eclass pushed to the tree in almost unmodified form. > revision 1.23 > date: 2011-03-13 22:15:14 +0200; author: slyfox; state: Exp; lines: +47 -26; commitid: 2c814d7d25954567; > Added EPREFIX support. Fixed default src_configure for dummy packages (EAPI=3 and upper). ghc with basic eprefix support is in the tree. > *ghc-6.12.3-r1 (27 Mar 2011) > > 27 Mar 2011; Sergei Trofimovich <slyfox@gentoo.org> +ghc-6.12.3-r1.ebuild, > +files/ghc-6.12.3-ticket-2615-linker-script.patch: > Migrated to EAPI=3: initial PREFIX support (based on work of grobian); > USE=unicode for ncurses is a required depend (bug #326237 by Josh > Cartwright and others). Added linker script support to workaround bug > #311361 by Maciej Piechotka. Thank you, Fabian! |