2010-01-07 08:36:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.41 2010/01/07 07:36:54 wiz Exp $
|
2000-11-29 01:33:09 +01:00
|
|
|
|
Update nhc98 to 1.18.
Changes from 1.16:
# New: Several more packages of hierarchical libraries are included in
the build: base, parsec, haskell-src, QuickCheck, HaXml, HUnit, Cabal.
# New: FFI improvements: foreign import "dynamic" is now supported, and
named C header-files are now used.
# New: The compiler now uses cpphs for Haskell source instead of cpp. This
removes problems with string gaps, primes in identifiers, and so on.
# New: In hmake-interactive, if the readline library is not available,
the simple line editor now has a history mechanism.
# Bugfix: hmake's processing of cpp conditional directives is improved also.
# Bugfix: More evil bugfixes for gcc versions ? 3.3
# Bugfix: A numeric pattern can now match against a Num newtype.
# Bugfix: Foreign imports and abstract newtypes now play OK together.
# Bugfix: Methods in qualified classes no longer need to be qualified in
instance decls.
# Bugfix: GreenCard now accepts <<.../...>> syntax.
2005-05-02 00:55:07 +02:00
|
|
|
DISTNAME= nhc98src-1.18.tar.gz
|
|
|
|
PKGNAME= nhc98-1.18
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2000-11-29 01:33:09 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/
|
Update nhc98 to 1.18.
Changes from 1.16:
# New: Several more packages of hierarchical libraries are included in
the build: base, parsec, haskell-src, QuickCheck, HaXml, HUnit, Cabal.
# New: FFI improvements: foreign import "dynamic" is now supported, and
named C header-files are now used.
# New: The compiler now uses cpphs for Haskell source instead of cpp. This
removes problems with string gaps, primes in identifiers, and so on.
# New: In hmake-interactive, if the readline library is not available,
the simple line editor now has a history mechanism.
# Bugfix: hmake's processing of cpp conditional directives is improved also.
# Bugfix: More evil bugfixes for gcc versions ? 3.3
# Bugfix: A numeric pattern can now match against a Num newtype.
# Bugfix: Foreign imports and abstract newtypes now play OK together.
# Bugfix: Methods in qualified classes no longer need to be qualified in
instance decls.
# Bugfix: GreenCard now accepts <<.../...>> syntax.
2005-05-02 00:55:07 +02:00
|
|
|
DISTFILES= nhc98src-1.18.tar.gz \
|
|
|
|
nhc98-1.18-library-interfaces.tar.gz
|
2000-11-29 01:33:09 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= kristerw@NetBSD.org
|
2000-11-29 01:33:09 +01:00
|
|
|
HOMEPAGE= http://www.cs.york.ac.uk/fp/nhc98/
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Portable Haskell 98 compiler
|
2000-11-29 01:33:09 +01:00
|
|
|
|
2001-02-24 23:51:03 +01:00
|
|
|
# Not yet ported to 64-bit machines
|
2010-01-07 08:36:53 +01:00
|
|
|
NOT_FOR_PLATFORM= ${LP64PLATFORMS}
|
2001-12-26 02:04:54 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2001-01-25 05:23:31 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
|
|
|
|
INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-K]*-*
|
2001-02-24 23:51:03 +01:00
|
|
|
|
2002-11-14 23:38:30 +01:00
|
|
|
HAS_CONFIGURE= YES
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --buildwith=gcc --installdir=${PREFIX:Q} \
|
2000-11-29 01:33:09 +01:00
|
|
|
+docs --docdir=${PREFIX}/share/doc/nhc98
|
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= default
|
2001-02-19 18:08:12 +01:00
|
|
|
|
2005-12-16 01:13:30 +01:00
|
|
|
PLIST_SUBST+= HARCH=`${WRKSRC}/script/harch`
|
2000-11-29 01:33:09 +01:00
|
|
|
|
Update to nhc98-1.04.
nhc98 1.04 (2001-05-21) features
* New: Support for extended module namespaces of the form
Long.Hierarchical.Module.Name is now provided in both nhc98 and
hmake.
* Update: Improved printing of I/O error messages.
* Update: Improved (more accurate) time profiling now provided.
* Bugfix: An identifier hidden on import and redefined in the
current module, then exported, but also imported qualified and
used qualified in the current module, led to an incorrect
interface file being generated.
* Bugfix: hmake issued an unnecessary -cpp flag on some literate
files.
* Bugfix: Type of IO.hSetPosn :: Handle -> HandlePosn -> IO () was
incorrect
* Bugfix: Compile-time error in src/tracer/runtime/ident.c on RedHat
7 and other systems using the new ISO C standard for fpos_t.
* Bugfix: A file opened in ReadMode or WriteMode was actually opened
in ReadWriteMode, so if the file had strict permissions the
correct opening command would fail. Conversely, opening in
ReadWriteMode actually gave ReadMode instead, and file updates
silently failed.
* Bugfix: Operator sections suffered from priority inversion, for
example (^2*3) was incorrectly parsed as (^(2*3)), even though ^
binds more tightly than *.
* Bugfix: The library function Directory.createDirectory gave
strange permissions to the new directory. (Mode was in hex, but
should have been octal!)
The following updates and bugfixes are specifically for Hat, the
redex-trail-based tracing and debugging system.
* New architecture: Traced programs now build their trails in files,
not in the heap. This has four consequences: (1) you no longer
need to give your program large amounts of extra memory to trace
it; but (2) you may need to have large amounts of free disk space,
particularly to trace long-running programs; (3) for the moment,
traced programs now run even slower (we are working to improve
this); and (4) trails are now first-class objects, so new tools
can manipulate them to provide several different views of the
computation.
* New tools: Storing trails in files means we can now provide more
tools to examine them. The original graphical browser is now
renamed hat-trail, and can fully explore the redex trails in file.
hat-stack gives a virtual stack back-trace from a trail file (no
need to re-run the program). hat-observe gives you HOOD-like
observation of the input and output from functions. hat-detect
does algorithmic debugging in the style of Freja; it discovers and
identifies the location of a bug after asking you some simple
questions. hat-check verifies the integrity of the trail file,
prints a textual dump, and gives statistics about its contents.
* Update: Fuller Standard Library support for tracing: added
Directory, System, CPUTime, Random. (Still missing: Time, Locale.)
* Update: More Haskell'98 language features are accepted: named
fields can now be traced, although the hat tools don't yet show
them in source form. Pattern bindings are also handled better.
_________________________________________________________________
2001-05-22 02:45:54 +02:00
|
|
|
post-extract:
|
2004-01-27 01:53:10 +01:00
|
|
|
@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* -print | ${XARGS} ${RM} -rf
|
2001-02-24 23:51:03 +01:00
|
|
|
|
2004-05-02 06:59:23 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
2000-11-29 01:33:09 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|