dev-lang/ghc: drop outdated docbook xsl prefix hacks.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 28 May 2017 00:27:24 +0000 (09:27 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sun, 28 May 2017 00:41:15 +0000 (09:41 +0900)
  sys-libs/ncurses:5/6 SLOT has been removed.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-lang/ghc/ghc-8.0.2.ebuild

index 6ca4874cefef6f46452dc7e0ef0735ba7e308269..606ecbb43d3769ba128eb79ab2245a0ced2d0819 100644 (file)
@@ -84,10 +84,7 @@ RDEPEND="
 # gentoo binaries are built against ncurses-6
 RDEPEND+="
        binary? (
-               || (
-                       sys-libs/ncurses:0/6
-                       sys-libs/ncurses:5/6
-               )
+               sys-libs/ncurses:0/6
        )
 "
 
@@ -461,12 +458,6 @@ src_prepare() {
                epatch "${FILESDIR}"/${PN}-8.0.2-libffi-alpha.patch
                epatch "${FILESDIR}"/${PN}-8.0.2-O2-unreg.patch
 
-               if use prefix; then
-                       # Make configure find docbook-xsl-stylesheets from Prefix
-                       sed -e '/^FP_DIR_DOCBOOK_XSL/s:\[.*\]:['"${EPREFIX}"'/usr/share/sgml/docbook/xsl-stylesheets/]:' \
-                               -i utils/haddock/doc/configure.ac || die
-               fi
-
                bump_libs
 
                # as we have changed the build system