Ross Paterson <[EMAIL PROTECTED]> writes:
> > Modified files:
> > libraries/HaXml HaXml.cabal configure
> > libraries/HaXml/src Makefile
> > Log:
> > Tweak configuration magic to make sure the resulting .cabal file is
> > correctly updated with the ghc-6.4 installation info.
>
> Those fields are in the installed package description, but not the
> package description (.cabal) file -- Distribution.Simple.Register
> supplies the values. Indeed the .cabal files should never be
> modified while configuring or building.
I have to admit I haven't been following the development of Cabal
too closely. I am still using my own Makefiles to build HaXml, and
these tweaks only affect that process.
My (possibly erroneous) impression is that the .cabal file is
essentially what I need to supply as the input to 'ghc-pkg register',
with the caveat that it needs a few extra fields to locate the
interface files, library archive, and so on.
What the recent commit does is to add exactly those fields (to
a copy of the .cabal file) just before registering the package.
The top-level .cabal file remains unchanged, so if anyone is using
Cabal as their build system instead of the supplied Makefiles, things
should continue as normal for them?
Regards,
Malcolm
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries