pkgsrc/lang/nhc98/Makefile

40 lines
1,019 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2004/03/13 16:55:26 kristerw Exp $
DISTNAME= nhc98src-1.16
PKGNAME= nhc98-1.16
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/
2003-07-17 23:41:05 +02:00
MAINTAINER= kristerw@NetBSD.org
HOMEPAGE= http://www.cs.york.ac.uk/fp/nhc98/
COMMENT= Portable Haskell 98 compiler
# Not yet ported to 64-bit machines
NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 *-*-x86_64
2001-12-26 02:04:54 +01:00
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_BUILDLINK2= YES
BUILDLINK_SETENV.CC= CC=gcc
USE_NCURSES= # KEY_RESIZE
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --buildwith=gcc --installdir=${PREFIX} \
+docs --docdir=${PREFIX}/share/doc/nhc98
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
# Note that you can also build with ghc (Glasgow Haskell Compiler) or
# hbc (Chalmers Haskell).
USE_GNU_TOOLS+= make
ALL_TARGET= default
HARCH= `${WRKSRC}/script/harch`
PLIST_SUBST+= HARCH=${HARCH}
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:
@${FIND} ${WRKSRC}/docs -type d -name \*CVS\* -print | ${XARGS} ${RM} -rf
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"