[Freebsd-haskell] GHC 6.12.1 Port

Ashish SHUKLA wahjava.ml at gmail.com
Tue Jan 5 13:32:33 EST 2010


Jacula Modyun writes:

[...]

> I'm always slow in my answer :-), I'm sorry.

I bet not slower than me ;).

Okay, as mentioned by you about putting GHC 6.12.1 in a separate ghc-devel
package and keeping it there until ports are working with GHC 6.12.1. I agree
to your solution.

Related to bsd.haskell.mk, I'm proposing to defer working on
bsd.haskell.mk. But instead I want to propose something else, like
Makefile.haskell which in concept is similar to Makefile.xpi and doesn't
require fiddling with ${PORTSDIR}/Mk/bsd.port.mk files.

Current ports work fine but they contains lots of redundant stuff, and if
there happens to be any update with GHC, Haddock, HsColour, and any other
common ports Makefiles of all of the ports needs to be updated, which makes it
PITA to update even single port.

So Makefile.haskell shall take care of this by gathering all common
definitions at one place, and then every port is only required to include
Makefile.haskell like XPI ports do. I'll post an initial Makefile.haskell in a
day or two. What do you think about this idea ?

[...]

> I have only i386 systems and I'm using my free time (at this moment very
> little) to add new haskell ports, then if Gabor or Samy could build a
> bootstrap tarball for i386 systems, I try to test other haskell ports with
> ghc 6.12.1.

Cool, Gabor has started uploading bootstrap tarballs for i386 architecture, so
hopefully you'll be playing with GHC 6.12.1 soon ;)

In addition to that, I'm having a issue with latest haddock port with GHC
6.12.1. It depends on 'mtl' module which isn't provided by GHC anymore. So I
created a port for 'mtl' and that port depends on 'haddock' for documentation
generation. This is kind of circular dependency and can only be resolved if
mtl is built with NOPORTDOCS flag set. So how is user going to build 'haddock'
port, if mtl isn't installed and he doesn't have NOPORTDOCS set. Should
'haddock' port install 'mtl' port in SLAVE mode like GHC installs haddock and
other ports. Or there is any other neat way of doing it ?

Thanks
Ashish SHUKLA
-- 
They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety.
  -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/freebsd-haskell/attachments/20100105/e5ad3b14/attachment-0001.bin


More information about the FreeBSD-haskell mailing list