haskell-cabal.eclass: move bundled cabal version detection to 'ghc-package.eclass'

Will need amendment when gets a port to ghc-7.10.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: clean ghc-getghcpkgbin

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: port ghc-cabal-version to ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: cleanup: workaround nested '$( $( ) )'

mcedit does not like it.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: drop unused 'ghc-fixlibpath'

Looks like it was never used.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: delete unused 'ghc-bestcabalversion'

Was used long ago in hs-plugnis and Cabal bootstrap.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: update registration logis to work with ghc-7.10

The main change is in the '.conf' path. Now we just
register everything in 'src_install()' phase into
local 'package.conf.d' directory and copy it
over into ghc's 'package.conf.d'.

It adds us proper package collision for free,
speeds up ghc reregistration phase.

This mechanism works on ghc-6.12+.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/split: allow ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/utf8-string: allow ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/binary: mask as bundled with ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/utf8-string: fix a typo in 'src_prepare'

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: restore package collisison check

Collisions happen silently even for bundled packages.
For example binary has slightly different ABI hash
when recompiling as a cabal package.

Maybe due to slight C compiler flags difference.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
ghc-package.eclass: cleanup: be slightly less chatty

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/terminfo: allow ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/dataenc: allow ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/tar: allow ghc-7.10 (drop old-time)

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/tar: fix for ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
dev-haskell/circle-packing: allow ghc-7.10

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
package.mask: don't mask ghc-7.10, should be more usable now

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
io-reactive fork