Here's another patch to make ghc-cvs compile (almost[1]) with
ghc-4.06.
Jens
ps Is this the wrong forum for patches? Should I send patches to
glasgow-haskell-bugs in the future?
Footnotes:
[1] see next mail about linking problems
Index: Makefile
===================================================================
RCS file: /cvs/fptools/ghc/driver/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile 2000/06/30 09:46:04 1.40
+++ Makefile 2000/07/05 22:05:33
@@ -10,11 +10,11 @@
HC=$(GHC_INPLACE)
endif
-ghc_406_at_least = $(shell expr "$(GhcMinVersion)" \>= 6)
+ghc_407_at_least = $(shell expr "$(GhcMinVersion)" \>= 7)
ifeq "$(ghc_406_at_least)" "1"
SRC_HC_OPTS += -fglasgow-exts -cpp -package concurrent -package posix -package text
else
-SRC_HC_OPTS += -fglasgow-exts -cpp -syslib concurrent -syslib posix -syslib misc
+SRC_HC_OPTS += -fglasgow-exts -cpp -syslib concurrent -syslib posix -syslib text
endif
HS_PROG = ghc-$(ProjectVersion)