pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc Update ghc to 6.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/030f0071ca38
branches: trunk
changeset: 494244:030f0071ca38
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Sat May 21 20:22:21 2005 +0000
description:
Update ghc to 6.4.
See
http://www.haskell.org/ghc/docs/6.4/html/users_guide/release-6-4.html
for the long list of changes since ghc-6.2.1.
In addition, GHCi and profiling support have been enabled in this
package.
diffstat:
lang/ghc/Makefile | 54 ++-
lang/ghc/PLIST | 634 ++++++++++++++++++++++++++++++++++++++++++++-
lang/ghc/distinfo | 17 +-
lang/ghc/patches/patch-aa | 6 +-
lang/ghc/patches/patch-ab | 6 +-
lang/ghc/patches/patch-ac | 6 +-
lang/ghc/patches/patch-ad | 6 +-
lang/ghc/patches/patch-ae | 6 +-
lang/ghc/patches/patch-af | 13 +
lang/ghc/patches/patch-ag | 13 +
10 files changed, 700 insertions(+), 61 deletions(-)
diffs (truncated from 1330 to 300 lines):
diff -r 2d47f1c124ac -r 030f0071ca38 lang/ghc/Makefile
--- a/lang/ghc/Makefile Sat May 21 19:07:08 2005 +0000
+++ b/lang/ghc/Makefile Sat May 21 20:22:21 2005 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.21 2005/05/04 19:02:33 kristerw Exp $
+# $NetBSD: Makefile,v 1.22 2005/05/21 20:22:21 kristerw Exp $
-DISTNAME= ghc-6.2.1
-PKGREVISION= 1
+DISTNAME= ghc-6.4
CATEGORIES= lang
-MASTER_SITES= http://www.haskell.org/ghc/dist/6.2.1/
-DISTFILES= ghc-6.2.1-src.tar.bz2 \
+MASTER_SITES= http://www.haskell.org/ghc/dist/6.4/
+DISTFILES= ghc-6.4-src.tar.bz2 \
+ ghc-6.2.1-src.tar.bz2 \
ghc-6.2.1-i386-unknown-netbsd-hc.tar.gz
MAINTAINER= kristerw%NetBSD.org@localhost
@@ -16,34 +16,36 @@
ONLY_FOR_PLATFORM= NetBSD-1.5*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ./distrib/hc-build
-CONFIGURE_ARGS+= --enable-hc-boot-unregisterised
-INSTALL_MAKE_FLAGS+= stage=1
-
-
+CONFIGURE_ARGS+= --with-ghc=${WRKDIR}/bootstrap/bin/ghc
+CONFIGURE_ENV+= PerlCmd=${PERL5}
USE_GNU_READLINE= yes # uses the UNDO_ constants
USE_PERL5= yes
USE_GNU_TOOLS+= make
-# Everything is done in the configure target.
-do-build:
- @${DO_NADA}
-
pre-configure:
- ${MV} ${WRKSRC}/mk/bootstrap.mk ${WRKSRC}/mk/bootstrap.mk.tmp
+ ${MV} ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk \
+ ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk.tmp
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' \
+ < ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk.tmp \
+ > ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk
+ ${MV} ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in \
+ ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in.tmp
${SED} -e 's,@PREFIX@,${PREFIX},g' \
- < ${WRKSRC}/mk/bootstrap.mk.tmp \
- > ${WRKSRC}/mk/bootstrap.mk
- ${MV} ${WRKSRC}/libraries/readline/package.conf.in \
- ${WRKSRC}/libraries/readline/package.conf.in.tmp
+ < ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in.tmp \
+ > ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in
+ ${MV} ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in \
+ ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in.tmp
${SED} -e 's,@PREFIX@,${PREFIX},g' \
- < ${WRKSRC}/libraries/readline/package.conf.in.tmp \
- > ${WRKSRC}/libraries/readline/package.conf.in
- ${MV} ${WRKSRC}/ghc/rts/package.conf.in \
- ${WRKSRC}/ghc/rts/package.conf.in.tmp
- ${SED} -e 's,@PREFIX@,${PREFIX},g' \
- < ${WRKSRC}/ghc/rts/package.conf.in.tmp \
- > ${WRKSRC}/ghc/rts/package.conf.in
+ < ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in.tmp \
+ > ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in
+ cd ${WRKDIR}/ghc-6.2.1 && \
+ ./distrib/hc-build \
+ --enable-hc-boot-unregisterised \
+ --prefix=${WRKDIR}/bootstrap
+ cd ${WRKDIR}/ghc-6.2.1 && ${GMAKE} stage=1 install
+
+pre-build:
+ ${ECHO} "SplitObjs=NO" > ${WRKSRC}/mk/build.mk
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
diff -r 2d47f1c124ac -r 030f0071ca38 lang/ghc/PLIST
--- a/lang/ghc/PLIST Sat May 21 19:07:08 2005 +0000
+++ b/lang/ghc/PLIST Sat May 21 20:22:21 2005 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2004/05/29 14:28:43 kristerw Exp $
+@comment $NetBSD: PLIST,v 1.4 2005/05/21 20:22:21 kristerw Exp $
+bin/${PKGNAME}
bin/ghc
-bin/${PKGNAME}
bin/ghc-pkg
bin/ghc-pkg-${PKGVERSION}
bin/ghci
@@ -9,9 +9,39 @@
bin/hasktags
bin/hp2ps
bin/hsc2hs
+bin/runghc
+bin/runhaskell
bin/stat2resid
+lib/${PKGNAME}/${PKGNAME}
+lib/${PKGNAME}/HSCabal.o
+lib/${PKGNAME}/HSHUnit.o
+lib/${PKGNAME}/HSQuickCheck.o
+lib/${PKGNAME}/HSbase.o
+lib/${PKGNAME}/HSbase_cbits.o
+lib/${PKGNAME}/HSconcurrent.o
+lib/${PKGNAME}/HSdata.o
+lib/${PKGNAME}/HSfgl.o
+lib/${PKGNAME}/HShaskell-src.o
+lib/${PKGNAME}/HShaskell98.o
+lib/${PKGNAME}/HShssource.o
+lib/${PKGNAME}/HSlang.o
+lib/${PKGNAME}/HSlang_cbits.o
+lib/${PKGNAME}/HSmtl.o
+lib/${PKGNAME}/HSnet.o
+lib/${PKGNAME}/HSnetwork.o
+lib/${PKGNAME}/HSparsec.o
+lib/${PKGNAME}/HSposix.o
+lib/${PKGNAME}/HSposix_cbits.o
+lib/${PKGNAME}/HSreadline.o
+lib/${PKGNAME}/HSrts.o
+lib/${PKGNAME}/HSstm.o
+lib/${PKGNAME}/HStemplate-haskell.o
+lib/${PKGNAME}/HStext.o
+lib/${PKGNAME}/HSunix.o
+lib/${PKGNAME}/HSunix_cbits.o
+lib/${PKGNAME}/HSutil.o
+lib/${PKGNAME}/HSutil_cbits.o
lib/${PKGNAME}/cgprof
-lib/${PKGNAME}/${PKGNAME}
lib/${PKGNAME}/ghc-asm
lib/${PKGNAME}/ghc-pkg.bin
lib/${PKGNAME}/ghc-split
@@ -19,138 +49,271 @@
lib/${PKGNAME}/ghci-usage.txt
lib/${PKGNAME}/hsc2hs-bin
lib/${PKGNAME}/hslibs-imports/concurrent/CVar.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/CVar.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Chan.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Chan.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Channel.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Channel.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/ChannelVar.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/ChannelVar.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Concurrent.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Concurrent.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/MVar.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/MVar.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Merge.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Merge.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Parallel.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Parallel.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/QSem.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/QSem.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/QSemN.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/QSemN.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/SampleVar.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/SampleVar.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Semaphore.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Semaphore.p_hi
lib/${PKGNAME}/hslibs-imports/concurrent/Strategies.hi
+lib/${PKGNAME}/hslibs-imports/concurrent/Strategies.p_hi
lib/${PKGNAME}/hslibs-imports/data/Assoc.hi
+lib/${PKGNAME}/hslibs-imports/data/Assoc.p_hi
lib/${PKGNAME}/hslibs-imports/data/AssocDefaults.hi
+lib/${PKGNAME}/hslibs-imports/data/AssocDefaults.p_hi
lib/${PKGNAME}/hslibs-imports/data/AssocList.hi
+lib/${PKGNAME}/hslibs-imports/data/AssocList.p_hi
lib/${PKGNAME}/hslibs-imports/data/BankersQueue.hi
+lib/${PKGNAME}/hslibs-imports/data/BankersQueue.p_hi
lib/${PKGNAME}/hslibs-imports/data/BinaryRandList.hi
+lib/${PKGNAME}/hslibs-imports/data/BinaryRandList.p_hi
lib/${PKGNAME}/hslibs-imports/data/BraunSeq.hi
+lib/${PKGNAME}/hslibs-imports/data/BraunSeq.p_hi
lib/${PKGNAME}/hslibs-imports/data/Collection.hi
+lib/${PKGNAME}/hslibs-imports/data/Collection.p_hi
lib/${PKGNAME}/hslibs-imports/data/CollectionDefaults.hi
+lib/${PKGNAME}/hslibs-imports/data/CollectionDefaults.p_hi
lib/${PKGNAME}/hslibs-imports/data/CollectionUtils.hi
+lib/${PKGNAME}/hslibs-imports/data/CollectionUtils.p_hi
lib/${PKGNAME}/hslibs-imports/data/EdisonPrelude.hi
+lib/${PKGNAME}/hslibs-imports/data/EdisonPrelude.p_hi
lib/${PKGNAME}/hslibs-imports/data/FiniteMap.hi
+lib/${PKGNAME}/hslibs-imports/data/FiniteMap.p_hi
lib/${PKGNAME}/hslibs-imports/data/JoinList.hi
+lib/${PKGNAME}/hslibs-imports/data/JoinList.p_hi
lib/${PKGNAME}/hslibs-imports/data/LazyPairingHeap.hi
+lib/${PKGNAME}/hslibs-imports/data/LazyPairingHeap.p_hi
lib/${PKGNAME}/hslibs-imports/data/LeftistHeap.hi
+lib/${PKGNAME}/hslibs-imports/data/LeftistHeap.p_hi
lib/${PKGNAME}/hslibs-imports/data/ListSeq.hi
+lib/${PKGNAME}/hslibs-imports/data/ListSeq.p_hi
lib/${PKGNAME}/hslibs-imports/data/MinHeap.hi
+lib/${PKGNAME}/hslibs-imports/data/MinHeap.p_hi
lib/${PKGNAME}/hslibs-imports/data/MyersStack.hi
+lib/${PKGNAME}/hslibs-imports/data/MyersStack.p_hi
lib/${PKGNAME}/hslibs-imports/data/PatriciaLoMap.hi
+lib/${PKGNAME}/hslibs-imports/data/PatriciaLoMap.p_hi
lib/${PKGNAME}/hslibs-imports/data/RandList.hi
+lib/${PKGNAME}/hslibs-imports/data/RandList.p_hi
lib/${PKGNAME}/hslibs-imports/data/RevSeq.hi
+lib/${PKGNAME}/hslibs-imports/data/RevSeq.p_hi
lib/${PKGNAME}/hslibs-imports/data/Sequence.hi
+lib/${PKGNAME}/hslibs-imports/data/Sequence.p_hi
lib/${PKGNAME}/hslibs-imports/data/SequenceDefaults.hi
+lib/${PKGNAME}/hslibs-imports/data/SequenceDefaults.p_hi
lib/${PKGNAME}/hslibs-imports/data/Set.hi
+lib/${PKGNAME}/hslibs-imports/data/Set.p_hi
lib/${PKGNAME}/hslibs-imports/data/SimpleQueue.hi
+lib/${PKGNAME}/hslibs-imports/data/SimpleQueue.p_hi
lib/${PKGNAME}/hslibs-imports/data/SizedSeq.hi
+lib/${PKGNAME}/hslibs-imports/data/SizedSeq.p_hi
lib/${PKGNAME}/hslibs-imports/data/SkewHeap.hi
+lib/${PKGNAME}/hslibs-imports/data/SkewHeap.p_hi
lib/${PKGNAME}/hslibs-imports/data/SplayHeap.hi
+lib/${PKGNAME}/hslibs-imports/data/SplayHeap.p_hi
lib/${PKGNAME}/hslibs-imports/data/TestOrdBag.hi
+lib/${PKGNAME}/hslibs-imports/data/TestOrdBag.p_hi
lib/${PKGNAME}/hslibs-imports/data/TestOrdSet.hi
+lib/${PKGNAME}/hslibs-imports/data/TestOrdSet.p_hi
lib/${PKGNAME}/hslibs-imports/data/TestSeq.hi
+lib/${PKGNAME}/hslibs-imports/data/TestSeq.p_hi
lib/${PKGNAME}/hslibs-imports/data/UnbalancedSet.hi
+lib/${PKGNAME}/hslibs-imports/data/UnbalancedSet.p_hi
lib/${PKGNAME}/hslibs-imports/hssource/HsLexer.hi
+lib/${PKGNAME}/hslibs-imports/hssource/HsLexer.p_hi
lib/${PKGNAME}/hslibs-imports/hssource/HsParseMonad.hi
+lib/${PKGNAME}/hslibs-imports/hssource/HsParseMonad.p_hi
lib/${PKGNAME}/hslibs-imports/hssource/HsParseUtils.hi
+lib/${PKGNAME}/hslibs-imports/hssource/HsParseUtils.p_hi
lib/${PKGNAME}/hslibs-imports/hssource/HsParser.hi
+lib/${PKGNAME}/hslibs-imports/hssource/HsParser.p_hi
lib/${PKGNAME}/hslibs-imports/hssource/HsPretty.hi
+lib/${PKGNAME}/hslibs-imports/hssource/HsPretty.p_hi
lib/${PKGNAME}/hslibs-imports/hssource/HsSyn.hi
+lib/${PKGNAME}/hslibs-imports/hssource/HsSyn.p_hi
lib/${PKGNAME}/hslibs-imports/lang/Addr.hi
+lib/${PKGNAME}/hslibs-imports/lang/Addr.p_hi
lib/${PKGNAME}/hslibs-imports/lang/ArrayBase.hi
+lib/${PKGNAME}/hslibs-imports/lang/ArrayBase.p_hi
lib/${PKGNAME}/hslibs-imports/lang/Arrow.hi
+lib/${PKGNAME}/hslibs-imports/lang/Arrow.p_hi
lib/${PKGNAME}/hslibs-imports/lang/ByteArray.hi
+lib/${PKGNAME}/hslibs-imports/lang/ByteArray.p_hi
lib/${PKGNAME}/hslibs-imports/lang/CTypesISO.hi
+lib/${PKGNAME}/hslibs-imports/lang/CTypesISO.p_hi
lib/${PKGNAME}/hslibs-imports/lang/DiffArray.hi
+lib/${PKGNAME}/hslibs-imports/lang/DiffArray.p_hi
lib/${PKGNAME}/hslibs-imports/lang/DirectoryExts.hi
+lib/${PKGNAME}/hslibs-imports/lang/DirectoryExts.p_hi
lib/${PKGNAME}/hslibs-imports/lang/Dynamic.hi
+lib/${PKGNAME}/hslibs-imports/lang/Dynamic.p_hi
lib/${PKGNAME}/hslibs-imports/lang/Exception.hi
+lib/${PKGNAME}/hslibs-imports/lang/Exception.p_hi
lib/${PKGNAME}/hslibs-imports/lang/ForeignObj.hi
+lib/${PKGNAME}/hslibs-imports/lang/ForeignObj.p_hi
lib/${PKGNAME}/hslibs-imports/lang/Generics.hi
+lib/${PKGNAME}/hslibs-imports/lang/Generics.p_hi
lib/${PKGNAME}/hslibs-imports/lang/GlaExts.hi
+lib/${PKGNAME}/hslibs-imports/lang/GlaExts.p_hi
lib/${PKGNAME}/hslibs-imports/lang/IArray.hi
+lib/${PKGNAME}/hslibs-imports/lang/IArray.p_hi
lib/${PKGNAME}/hslibs-imports/lang/IOExts.hi
+lib/${PKGNAME}/hslibs-imports/lang/IOExts.p_hi
lib/${PKGNAME}/hslibs-imports/lang/IORef.hi
+lib/${PKGNAME}/hslibs-imports/lang/IORef.p_hi
lib/${PKGNAME}/hslibs-imports/lang/LazyST.hi
+lib/${PKGNAME}/hslibs-imports/lang/LazyST.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MArray.hi
+lib/${PKGNAME}/hslibs-imports/lang/MArray.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadCont.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadCont.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadEither.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadEither.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadError.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadError.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadFix.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadFix.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadIdentity.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadIdentity.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadList.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadList.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadRWS.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadRWS.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadReader.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadReader.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadState.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadState.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadTrans.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadTrans.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MonadWriter.hi
+lib/${PKGNAME}/hslibs-imports/lang/MonadWriter.p_hi
lib/${PKGNAME}/hslibs-imports/lang/Monoid.hi
+lib/${PKGNAME}/hslibs-imports/lang/Monoid.p_hi
lib/${PKGNAME}/hslibs-imports/lang/MutableArray.hi
+lib/${PKGNAME}/hslibs-imports/lang/MutableArray.p_hi
lib/${PKGNAME}/hslibs-imports/lang/NativeInfo.hi
+lib/${PKGNAME}/hslibs-imports/lang/NativeInfo.p_hi
lib/${PKGNAME}/hslibs-imports/lang/NumExts.hi
+lib/${PKGNAME}/hslibs-imports/lang/NumExts.p_hi
lib/${PKGNAME}/hslibs-imports/lang/PackedString.hi
+lib/${PKGNAME}/hslibs-imports/lang/PackedString.p_hi
lib/${PKGNAME}/hslibs-imports/lang/PrelByteArr.hi
Home |
Main Index |
Thread Index |
Old Index