diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2010-09-19 17:01:23 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2010-09-19 17:01:23 +0000 |
commit | 974292167b0deb6475f5073daeedec79f201d0a1 (patch) | |
tree | 3ffda2c86ce9f19af495e3ed1ee802f5bb178b37 /dev-haskell/haddock/haddock-2.4.2.ebuild | |
parent | Add ~arm/~sh wrt #336920 (diff) | |
download | gentoo-2-974292167b0deb6475f5073daeedec79f201d0a1.tar.gz gentoo-2-974292167b0deb6475f5073daeedec79f201d0a1.tar.bz2 gentoo-2-974292167b0deb6475f5073daeedec79f201d0a1.zip |
Make haddock usable on hardened. Disabled enforced memory protection (bug #299709). Haddock uses ghc runtime linker to parse TemplateHaskell so requires mmap('rwx') too.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/haddock/haddock-2.4.2.ebuild')
-rw-r--r-- | dev-haskell/haddock/haddock-2.4.2.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-haskell/haddock/haddock-2.4.2.ebuild b/dev-haskell/haddock/haddock-2.4.2.ebuild index 893c75ec6df9..f7fdb27c101c 100644 --- a/dev-haskell/haddock/haddock-2.4.2.ebuild +++ b/dev-haskell/haddock/haddock-2.4.2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.4.2.ebuild,v 1.9 2010/05/31 18:19:44 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.4.2.ebuild,v 1.10 2010/09/19 17:01:23 slyfox Exp $ CABAL_FEATURES="bin lib" # don't enable profiling as the 'ghc' package is not built with profiling -inherit haskell-cabal autotools +inherit haskell-cabal autotools pax-utils GHCPATHS_PN="ghc-paths" GHCPATHS_PV="0.1.0.5" @@ -69,6 +69,10 @@ src_compile () { src_install () { cabal_src_install + # haddock uses GHC-api to process TH source. + # TH requires GHCi which needs mmap('rwx') (bug #299709) + pax-mark -m "${D}/usr/bin/${PN}" + if use doc; then dohtml -r "${S}/doc/haddock/"* fi |