]> git.pld-linux.org Git - packages/ghc.git/blob - ghc-pkgdir.patch
eb836a9eaa5b68c9a3ef005c2ae65b233a5cf3a0
[packages/ghc.git] / ghc-pkgdir.patch
1 --- ghc-6.12.3/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs~        2010-06-09 20:10:19.000000000 +0200
2 +++ ghc-6.12.3/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs 2010-08-26 21:28:52.969002660 +0200
3 @@ -205,7 +205,7 @@
4  -- users to be able to configure @--libdir=\/usr\/lib64@ for example but
5  -- because by default we want to support installing multiple versions of
6  -- packages and building the same package for multiple compilers we append the
7 --- libsubdir to get: @\/usr\/lib64\/$libname\/$compiler@.
8 +-- libsubdir to get: @\/usr\/lib64\/$compiler\/$libname@.
9  --
10  -- An additional complication is the need to support relocatable packages on
11  -- systems which support such things, like Windows.
12 @@ -204,11 +204,11 @@
13        libdir       = installLibDir,
14        libsubdir    = case comp of
15             UHC    -> "$pkgid"
16 -           _other -> "$abi" </> "$libname",
17 +           _other -> "$compiler" </> "$pkgid",
18        dynlibdir    = "$libdir" </> case comp of
19             UHC    -> "$pkgid"
20             _other -> "$abi",
21 -      libexecsubdir= "$abi" </> "$pkgid",
22 +      libexecsubdir= "$pkgid",
23        flibdir      = "$libdir",
24        libexecdir   = case buildOS of
25          Windows   -> "$prefix" </> "$libname"
26 @@ -217,7 +217,7 @@
27        datadir      = case buildOS of
28          Windows   -> "$prefix"
29          _other    -> "$prefix" </> "share",
30 -      datasubdir   = "$abi" </> "$pkgid",
31 +      datasubdir   = "$pkgid",
32        docdir       = "$datadir" </> "doc" </> "$abi" </> "$pkgid",
33        mandir       = "$datadir" </> "man",
34        htmldir      = "$docdir"  </> "html",
This page took 0.03274 seconds and 2 git commands to generate.