diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-06-09 20:09:03 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-06-09 20:09:17 +0100 |
commit | 55e2390cae9029846c6a69d852cf03058b6c4aae (patch) | |
tree | 85bcccc359d3fb360fdb7565b17c252685e966b7 /dev-lang/ghc/ghc-8.4.2.ebuild | |
parent | dev-lang/ghc: bump up to 8.4.3, no binaries yet (diff) | |
download | gentoo-55e2390cae9029846c6a69d852cf03058b6c4aae.tar.gz gentoo-55e2390cae9029846c6a69d852cf03058b6c4aae.tar.bz2 gentoo-55e2390cae9029846c6a69d852cf03058b6c4aae.zip |
dev-lang/ghc: backport binutils fixes
A few changes:
- move off from code.haskell.org to /slyfox.uni.cx for binaries
- enable --relax on all arches, not just sparc
- fix dwarf generation (-g) on binutils-2.30
- allow >=haskell-updater-1.3
- fix relocation for haddoc, hp2ps, hpc
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-lang/ghc/ghc-8.4.2.ebuild')
-rw-r--r-- | dev-lang/ghc/ghc-8.4.2.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-lang/ghc/ghc-8.4.2.ebuild b/dev-lang/ghc/ghc-8.4.2.ebuild index 4fe09376cf48..2b6dbd92fe91 100644 --- a/dev-lang/ghc/ghc-8.4.2.ebuild +++ b/dev-lang/ghc/ghc-8.4.2.ebuild @@ -315,6 +315,9 @@ relocate_ghc() { "${WORKDIR}/usr/bin/ghc-${GHC_PV}" \ "${WORKDIR}/usr/bin/ghci-${GHC_PV}" \ "${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \ + "${WORKDIR}/usr/bin/haddock-ghc-${GHC_PV}" \ + "${WORKDIR}/usr/bin/hp2ps" \ + "${WORKDIR}/usr/bin/hpc" \ "${WORKDIR}/usr/bin/hsc2hs" \ "${WORKDIR}/usr/bin/runghc-${GHC_PV}" \ "${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"* @@ -473,6 +476,9 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch eapply "${FILESDIR}"/${PN}-8.2.1-darwin.patch eapply "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch + eapply "${FILESDIR}"/${PN}-8.0.2-no-relax-everywhere.patch + eapply "${FILESDIR}"/${PN}-8.0.2-binutils-2.30.patch + eapply "${FILESDIR}"/${PN}-8.4.2-allow-cross-bootstrap.patch # a bunch of crosscompiler patches # needs newer version: |