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
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\/$pkgid\/$compiler@.
8 +-- libsubdir to get: @\/usr\/lib64\/$compiler\/$pkgid@.
10 -- An additional complication is the need to support relocatable packages on
11 -- systems which support such things, like Windows.
16 - _other -> "$pkgid" </> "$compiler",
17 + _other -> "$compiler" </> "$pkgid",
18 dynlibdir = "$libdir",
19 libexecdir = case buildOS of
20 Windows -> "$prefix" </> "$pkgid"