Update to 3.09 and unbreak on 5.x

This commit is contained in:
Volker Stolz 2005-02-01 22:27:37 +00:00
parent abb3cabfd6
commit 62772e1d1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127878
3 changed files with 76 additions and 4 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= hmake
PORTVERSION= 3.08
PORTREVISION= 1
PORTVERSION= 3.09
CATEGORIES= devel haskell
MASTER_SITES= http://www.haskell.org/hmake/ \
ftp://ftp.cs.york.ac.uk/pub/haskell/hmake/ \

View file

@ -1,2 +1,2 @@
MD5 (hmake-3.08.tar.gz) = c01c9137185a89e29bec389718696a66
SIZE (hmake-3.08.tar.gz) = 74439
MD5 (hmake-3.09.tar.gz) = 72ac1fbca710dd8be5926600b119b4f4
SIZE (hmake-3.09.tar.gz) = 100103

View file

@ -0,0 +1,73 @@
--- src/interpreter/HInteractive.hs.orig Tue Feb 1 23:15:37 2005
+++ src/interpreter/HInteractive.hs Tue Feb 1 23:22:21 2005
@@ -347,39 +347,37 @@
help = "hi - help command does not work in hbc < 0.9999.5"
#else
-banner = "\
-\__ __ __ _____________________________________\n\
-\|| || ______ ___ || _ ____ hmake interactive (hi):\n\
-\||___|| || || || ___|| ||/ ||__|| Copyright (c) May 2000\n\
-\||---|| || || || ||__|| ||\\_ ||__ http://www.cs.york.ac.uk/fp/hmake/\n\
-\|| || Report bugs to: malcolm@cs.york.ac.uk\n\
-\|| || Version: "++hmakeVersion++" -------------------------------------"
+banner = "__ __ __ _____________________________________\n" ++
+ "|| || ______ ___ || _ ____ hmake interactive (hi):\n" ++
+ "||___|| || || || ___|| ||/ ||__|| Copyright (c) May 2000\n" ++
+ "||---|| || || || ||__|| ||\\_ ||__ http://www.cs.york.ac.uk/fp/hmake/\n" ++
+ "|| || Report bugs to: malcolm@cs.york.ac.uk\n" ++
+ "|| || Version: "++hmakeVersion++" -------------------------------------"
-help = "\
-\Commands (can be abbreviated to first letter):\n\
-\ <expr> evaluate expression\n\
-\ :type <expr> show type of expression [nhc98 only]\n\
-\ :quit quit\n\
-\ :Quit quit\n\
-\ :load mod [mod...] load modules (note, not filenames)\n\
-\ :load clear all modules\n\
-\ :also mod [mod...] load additional modules (note, not filenames)\n\
-\ :reload repeat last load command\n\
-\ :freshen remove, recompile, and reload all current modules\n\
-\ :module mod set module scope for evaluating expressions\n\
-\ :edit file edit filename\n\
-\ :edit edit current module\n\
-\ :cd dir change directory\n\
-\ :cd show current directory\n\
-\ :dir list current directory\n\
-\ :hc compiler set Haskell compiler to use\n\
-\ :hc show current compiler and other available compilers\n\
-\ :set options set hmake/compiler options\n\
-\ :unset options remove hmake/compiler options\n\
-\ :observe name debug function 'name' with 'Hood' [coming soon]\n\
-\ :trace [on|off] switch on/off debugging with 'Hat' [nhc98 only]\n\
-\ :!command shell escape\n\
-\ :version show hmake version\n\
-\ :? display this list of commands"
+help = "Commands (can be abbreviated to first letter):\n" ++
+ " <expr> evaluate expression\n" ++
+ " :type <expr> show type of expression [nhc98 only]\n" ++
+ " :quit quit\n" ++
+ " :Quit quit\n" ++
+ " :load mod [mod...] load modules (note, not filenames)\n" ++
+ " :load clear all modules\n" ++
+ " :also mod [mod...] load additional modules (note, not filenames)\n" ++
+ " :reload repeat last load command\n" ++
+ " :freshen remove, recompile, and reload all current modules\n" ++
+ " :module mod set module scope for evaluating expressions\n" ++
+ " :edit file edit filename\n" ++
+ " :edit edit current module\n" ++
+ " :cd dir change directory\n" ++
+ " :cd show current directory\n" ++
+ " :dir list current directory\n" ++
+ " :hc compiler set Haskell compiler to use\n" ++
+ " :hc show current compiler and other available compilers\n" ++
+ " :set options set hmake/compiler options\n" ++
+ " :unset options remove hmake/compiler options\n" ++
+ " :observe name debug function 'name' with 'Hood' [coming soon]\n" ++
+ " :trace [on|off] switch on/off debugging with 'Hat' [nhc98 only]\n" ++
+ " :!command shell escape\n" ++
+ " :version show hmake version\n" ++
+ " :? display this list of commands"
#endif