diff options
author | kristerw <kristerw> | 2007-03-24 17:57:19 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2007-03-24 17:57:19 +0000 |
commit | 953dd8bc6fed4f5738be403c16f8f9c05b41c161 (patch) | |
tree | 72e0c26d1b62417beddeb887bb1b7ecdcb76aff6 /lang/ghc/Makefile | |
parent | 1d8af3b3e5369abf57c5446e6cfdd1cf7db2d1fb (diff) | |
download | pkgsrc-953dd8bc6fed4f5738be403c16f8f9c05b41c161.tar.gz |
Update ghc to version 6.6.
This version represent >19 month of development since the version 6.4,
and the list of changes is far too big to include here. See
http://www.haskell.org/ghc/docs/6.6/html/users_guide/release-6-6.html
for the list of user visible changes.
Diffstat (limited to 'lang/ghc/Makefile')
-rw-r--r-- | lang/ghc/Makefile | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index f80cc584f84..d779661a9b5 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -1,37 +1,41 @@ -# $NetBSD: Makefile,v 1.33 2006/11/12 21:58:38 kristerw Exp $ +# $NetBSD: Makefile,v 1.34 2007/03/24 17:57:19 kristerw Exp $ -DISTNAME= ghc-6.4.2 -PKGREVISION= 3 +DISTNAME= ghc-6.6 CATEGORIES= lang -MASTER_SITES= http://www.haskell.org/ghc/dist/6.4.2/ -DISTFILES= ghc-6.4.2-src.tar.bz2 \ +MASTER_SITES= http://www.haskell.org/ghc/dist/6.6/ +DISTFILES= ghc-6.6-src.tar.bz2 \ + ghc-6.6-src-extralibs.tar.bz2 \ + ghc-6.4.2-src.tar.bz2 \ ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz MAINTAINER= kristerw@NetBSD.org HOMEPAGE= http://www.haskell.org/ghc/ COMMENT= Compiler for the functional language Haskell +SITES.ghc-6.4.2-src.tar.bz2=http://www.haskell.org/ghc/dist/6.4.2/ SITES.ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz=${MASTER_SITE_LOCAL} ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 +CHECK_PORTABILITY_SKIP= distrib/prep-bin-dist-mingw + GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-ghc=${WRKDIR}/ghc-boot/ghc/compiler/ghc-inplace +CONFIGURE_ARGS+= --with-ghc=${WRKDIR}/ghc-6.4.2/ghc/compiler/ghc-inplace CONFIGURE_ENV+= PerlCmd=${PERL5:Q} USE_GNU_READLINE= yes # uses the UNDO_ constants USE_TOOLS+= gmake perl:run -SUBST_CLASSES+= add_paths -SUBST_STAGE.add_paths= post-patch -SUBST_FILES.add_paths= mk/bootstrap.mk -SUBST_FILES.add_paths+= ghc/rts/package.conf.in -SUBST_FILES.add_paths+= libraries/readline/package.conf.in -SUBST_SED.add_paths= -e 's,@PREFIX@,${PREFIX},g' +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= post-patch +SUBST_FILES.prefix= libraries/readline/package.conf.in +SUBST_FILES.prefix+= rts/package.conf.in +SUBST_FILES.prefix+= ../ghc-6.4.2/mk/bootstrap.mk +SUBST_FILES.prefix+= ../ghc-6.4.2/ghc/rts/package.conf.in +SUBST_FILES.prefix+= ../ghc-6.4.2/libraries/readline/package.conf.in +SUBST_SED.prefix= -e 's,@PREFIX@,${PREFIX},g' pre-configure: - ${MKDIR} ${WRKDIR}/ghc-boot \ - && cd ${WRKSRC} && ${PAX} -rw . ${WRKDIR}/ghc-boot - cd ${WRKDIR}/ghc-boot && \ + cd ${WRKDIR}/ghc-6.4.2 && \ ./distrib/hc-build --enable-hc-boot-unregisterised # The ghc compiler does normally split the generated C files into small |