fix build for 6.4.x and 6.6.x
authorSimon Marlow <simonmar@microsoft.com>
Wed, 18 Oct 2006 08:05:26 +0000 (08:05 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 18 Oct 2006 08:05:26 +0000 (08:05 +0000)
utils/nofib-analyse/Makefile

index 155b8df..680e1be 100644 (file)
@@ -1,7 +1,11 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
-SRC_HC_OPTS    += -fglasgow-exts -package util -package data -package text -cpp -package lang
+SRC_HC_OPTS    += -fglasgow-exts -cpp
 HS_PROG                = nofib-analyse
 
+ifeq "$(ghc_ge_605)" "YES"
+SRC_HC_OPTS    += -package regex-compat -package html
+endif
+
 include $(TOP)/mk/target.mk