patch applied (ghc-6.6/packages/Cabal): Be cleverer about guessing
hc-pkg name and location.
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Sat Oct 7 11:36:08 EDT 2006
Wed Aug 23 03:54:12 PDT 2006 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
* Be cleverer about guessing hc-pkg name and location.
So it now works if you say:
./setup configure --with-compiler=ghc-6.5
ie specifying a path-relative name rather than an absolute path.
We then look for hc-pkg in the same dir as where we found the compiler.
If the compiler appears to have a version suffix then we additionally
and preferentially look for hc-pkg with that same version suffix.
(I'm not sure that bit works if you've got a .exe suffix, perhaps a
windows person could try it / take a look)
M ./Distribution/Simple/Configure.hs -12 +26
More information about the Cvs-libraries
mailing list