ghc/ghc-cabal-unversion-docdir.patch
Jens Petersen 98bb637a26 Revert back to ghc-7.8 and update to 7.8.4
version bumps for base and Cabal

This reverts commit 083d826dd6.

Conflicts:
	ghc.spec
2015-01-17 16:55:56 +09:00

14 lines
611 B
Diff

--- ghc-7.8/utils/ghc-cabal/Main.hs~ 2013-08-28 08:06:37.000000000 +0900
+++ ghc-7.8/utils/ghc-cabal/Main.hs 2013-09-03 17:51:22.800653817 +0900
@@ -251,8 +251,8 @@
libsubdir = toPathTemplate "$pkgid",
docdir = toPathTemplate $
if relocatableBuild
- then "$topdir/../doc/html/libraries/$pkgid"
- else (myDocdir </> "$pkgid"),
+ then "$topdir/../doc/html/libraries/$pkg"
+ else (myDocdir </> "$pkg"),
htmldir = toPathTemplate "$docdir"
}