Commit 4cfe37a2 authored by Simon Marlow's avatar Simon Marlow
Browse files

add dependency on regex-compat

parent 466ad9a7
......@@ -515,6 +515,16 @@ SRC_HC_OPTS += -package Cabal
PKG_DEPENDS += Cabal
endif
# We use Text.Regex which is in regex-compat with GHC 6.6+
ifeq "$(bootstrapped)" "YES"
SRC_HC_OPTS += -package regex-compat
PKG_DEPENDS += regex-compat
else
ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -package regex-compat
endif
endif
ifeq "$(ghc_ge_603)" "YES"
# Ignore lang, to avoid potential clash with the Generics module if
# lang happens to be a dependency of some exposed package in the local
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment